Announcement Announcement Module
Collapse
No announcement yet.
spring-surf-application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring-surf-application

    Anyone else come across a problem with the spring-surf-application project whereby the page displays, but the webscripts dont seem to work. When trying to go to the console and refreshing the webscripts, I get the following...

    Code:
    SURF 	Web Script Status 500 - Internal Error
    
    The Web Script /spring-surf-application/service/console has responded with a status of 500 - Internal Error.
    
    500 Description:	An error inside the HTTP server which prevented it from fulfilling the request.
     
    Message:	02260000 Failed to process template org/springframework/extensions/surf/console.post.html.ftl
    	 
    Exception:	freemarker.core.InvalidReferenceException - Expression wsLib is undefined on line 4, column 6 in org/springframework/extensions/surf/console.post.html.ftl.
    	 
    	freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    	freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
    	freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
    	freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    	freemarker.core.UnifiedCall.accept(UnifiedCall.java:97)
    	freemarker.core.Environment.visit(Environment.java:208)
    	freemarker.core.MixedContent.accept(MixedContent.java:92)
    	freemarker.core.Environment.visit(Environment.java:208)
    	freemarker.core.Environment.process(Environment.java:188)
    	freemarker.template.Template.process(Template.java:237)
    	org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:156)
    	org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:569)
    	org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:263)
    	org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:143)
    	org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:69)
    	org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:182)
    	org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:307)
    	org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:178)
    	org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:94)
    	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
    	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
    	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
    	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
    	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
    	org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    	org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    	org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    	org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    	org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
    	org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
    	org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
    	org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
    	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
    	org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    	org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    	org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
    	org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
    	org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
    	java.lang.Thread.run(Thread.java:619)
    	 
    Exception:	org.springframework.extensions.webscripts.WebScriptException - 02260000 Failed to process template org/springframework/extensions/surf/console.post.html.ftl
    	 
    	org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:160)
    	 
    Server:	Alfresco - v1.0.0 (Milestone 3 334) schema 1,000
    Time:	26-Mar-2010 12:51:45
    	 
    Diagnostics:	Inspect Web Script (org/springframework/extensions/surf/console.post)

  • #2
    Can you try the latest trunk codeline?

    Comment

    Working...
    X