AnsweredAssumed Answered

Java-backed Web Scripts

Question asked by toze on May 5, 2010
Latest reply on May 17, 2010 by toze
Hi
Im trying to get to work the Java-backed Web Scripts Samples, in http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples#Download_Scripts
But im having some problems. The error i have is:

{ "status" : { "code" : 500, "name" : "Internal Error", "description" : "An error inside the HTTP server which prevented it from fulfilling the request." }, "message" : "04040009 Wrapped Exception (with status template): 04040008 IO Error during processing of the template 'org\/alfresco\/poc\/simpleAlfrescoWebScript.get.json.ftl'. Please contact your system administrator.", "exception" : "org.alfresco.web.scripts.WebScriptException - 04040009 Wrapped Exception (with status template): 04040008 IO Error during processing of the template 'org\/alfresco\/poc\/simpleAlfrescoWebScript.get.json.ftl'. Please contact your system administrator.", "callstack" : [ "" ,"java.io.FileNotFoundException: Template org\/alfresco\/poc\/simpleAlfrescoWebScript.get.json.ftl not found." ,"freemarker.template.Configuration.getTemplate(Configuration.java:489)" ,"freemarker.template.Configuration.getTemplate(Configuration.java:452)" ,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:195)" ,"org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)" ,"org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)" ,"org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:335)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)" ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:262)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)" ,"org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)" ,"org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)" ,"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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)" ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)" ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)" ,"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:286)" ,"org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)" ,"org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)" ,"org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)" ,"java.lang.Thread.run(Thread.java:619)" ,"org.alfresco.service.cmr.repository.TemplateException: 04040008 IO Error during processing of the template 'org\/alfresco\/poc\/simpleAlfrescoWebScript.get.json.ftl'. Please contact your system administrator." ,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:222)" ,"org.alfresco.web.scripts.WebScriptException: 04040009 Wrapped Exception (with status template): 04040008 IO Error during processing of the template 'org\/alfresco\/poc\/simpleAlfrescoWebScript.get.json.ftl'. Please contact your system administrator." ,"org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)" ], "server" : "Alfresco Community v3.2.0 (r2 2440) schema 3.300", "time" : "4/Mai/2010 18:03:18" }


anyone can help me pls?
thanks in advanced

Outcomes