Hi all,
I am using xsp’s for a while but now I would like to start using cforms. I installed the latest version of cocoon (2.1.5.1) and I tried to execute the sample registration form from the cocoon website. This is the error message I receive
org.apache.avalon.framework.CascadingRuntimeException: "resource://org/apache/cocoon/forms/flow/_javascript_/Form.js", line 47: uncaught _javascript_ exception: at registration (file:/C:/app/Tomcat5.0.25/webapps/begraafplaatsen/flow/registration.js, Line 4) at Form (resource://org/apache/cocoon/forms/flow/_javascript_/Form.js, Line 47): org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.apache.cocoon.forms.FormManager]) (Key='org.apache.cocoon.forms.FormManager') and here is the complete stacktrace:
Original Exception: org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.apache.cocoon.forms.FormManager]) (Key='org.apache.cocoon.forms.FormManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:119) at org.apache.cocoon.components.flow._javascript_.fom.FOM_Cocoon.jsFunction_getComponent(FOM_Cocoon.java:323) at inv3.invoke() at org.mozilla._javascript_.FunctionObject.doInvoke(FunctionObject.java:523) at org.mozilla._javascript_.FunctionObject.call(FunctionObject.java:438) at org.mozilla._javascript_.ScriptRuntime.call(ScriptRuntime.java:1244) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138) at org.mozilla._javascript_.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121) at org.mozilla._javascript_.ScriptRuntime.call(ScriptRuntime.java:1244) at org.apache.cocoon.components.flow._javascript_.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:702) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277) at org.apache.cocoon.Cocoon.process(Cocoon.java:639) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) at java.lang.Thread.run(Thread.java:536) Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.forms.FormManager]) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:263) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:297) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:107) ... 47 more Original Exception: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.forms.FormManager]) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:263) at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:297) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:107) at org.apache.cocoon.components.flow._javascript_.fom.FOM_Cocoon.jsFunction_getComponent(FOM_Cocoon.java:323) at inv3.invoke() at org.mozilla._javascript_.FunctionObject.doInvoke(FunctionObject.java:523) at org.mozilla._javascript_.FunctionObject.call(FunctionObject.java:438) at org.mozilla._javascript_.ScriptRuntime.call(ScriptRuntime.java:1244) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190) at org.mozilla._javascript_.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138) at org.mozilla._javascript_.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121) at org.mozilla._javascript_.ScriptRuntime.call(ScriptRuntime.java:1244) at org.apache.cocoon.components.flow._javascript_.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:702) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277) at org.apache.cocoon.Cocoon.process(Cocoon.java:639) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) at java.lang.Thread.run(Thread.java:536) If someone knows what the probelm could be, please help me! Kind regards Jonas |