Re: cocoon under eclipse
Hi Flavio, A few months ago, I had this error because the component wasn't declared. To do this, I add the following file. I think you can declare these components directly in cocoon.xconf, but it works this way for me. roles.xconf -- shorthand="session-context-manager" default-class="org.apache.cocoon.webapps.session.components.DefaultContextManager"/> shorthand="session-form-manager" default-class="org.apache.cocoon.webapps.session.components.DefaultFormManager"/> shorthand="session-media-manager" default-class="org.apache.cocoon.webapps.session.components.DefaultMediaManager"/> shorthand="session-manager" default-class="org.apache.cocoon.webapps.session.components.DefaultSessionManager"/> shorthand="session-transaction-manager" default-class="org.apache.cocoon.webapps.session.components.DefaultTransactionManager"/> shorthand="session-context-providers" default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"> -- and I reference this file in cocoon.xconf in the cocoon element like a 'user-roles' attribute : ... HTH, Jean-Christophe Flavio Palumbo wrote: Hi all, I tried to put cocoon under eclipse, building a new project in eclipse, addressing the directory of a working built of cocoon 2.1.3. The goal was to try to easily debug cocoon to better understand it. But now when I try to run it with jetty, in the normal way with cocoon servlet, i got the following exception : I run with Win2000, cocoon 2.1.3, jdk 1.4.2_01, jetty. Any hint ? Thanks a lot Flavio Palumbo Initialization Problem Message: Could not set up component Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not set up component Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet cause org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) request-uri / full exception chain stacktrace Original Exception: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint [ session-context] (key [session-context]) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:754) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:414) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:302) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1369) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:515) at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436) at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at org.mortbay.jetty.Server.main(Server.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) (Key='org.apache.cocoon.webapps.session.ContextManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:118) at org.apache.cocoon.webapps.session.components.ContextInputModule.service(ContextInputModule.java:147) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:181) at org.apache.avalon.excalib
Re: cocoon under eclipse
Flavio, Personnaly, I don't start jetty in Eclipse, but use the >cocoon servlet-debug command and plug my Eclipse on the (default) debug port of jetty and it works well. For tomcat, I added a debug clause in a special catalina.bat to plug Eclipse in there. And it also works good. I don't see any advantage to start jetty from Eclipse. Hope this helps. -- Olivier Flavio Palumbo wrote: Hi Olivier, thank you for the replay, but I overtook that phase ; in fact I found on the mail archive a mail of yours with links to Wiki pages "LoadInEclipse" and "DebuggingCocoon"; so I rebuilt my project following that documents ; unfortunately the built went fine, but when I tried to start jetty from within eclipse, I always get an exception java.lang.NoClassDefFoundError: Loader Exception in thread "main". I configured jetty as an application following these notes, reported at the bottom of the LoadInEclipse document : - make sure ./tools/loader is on your eclipse classpath (it isn't by default) - create an eclipse run configuration for Jetty Cocoon: - On configurations 'Main' tab use 'Loader' as the main class. - On the Arguments tab set: - Program arguments: "tools\jetty\conf\main.xml" - VM arguments: "-Djava.endorsed.dirs=./lib/endorsed" "-Dwebapp=./build/webapp" "-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser" "-Djetty.port= -Djetty.admin.port=8889" "-Dhome=." "-Dloader.jar.repositories=./tools/jetty/lib,./lib/endorsed" "-Dloader.main.class=org.mortbay.jetty.Server" Can you please help me ? Thanks a lot Flavio Palumbo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon under eclipse
I use Tomcat 4.1.x with Eclipse 2.1.x successfully. For that I use the Sysdeo plugin: http://www.sysdeo.com/eclipse/tomcatPlugin.html . -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: lunes, 19 de abril de 2004 17:10 Para: [EMAIL PROTECTED] Asunto: Re: cocoon under eclipse Hi Olivier, thank you for the replay, but I overtook that phase ; in fact I found on the mail archive a mail of yours with links to Wiki pages "LoadInEclipse" and "DebuggingCocoon"; so I rebuilt my project following that documents ; unfortunately the built went fine, but when I tried to start jetty from within eclipse, I always get an exception java.lang.NoClassDefFoundError: Loader Exception in thread "main". I configured jetty as an application following these notes, reported at the bottom of the LoadInEclipse document : - make sure ./tools/loader is on your eclipse classpath (it isn't by default) - create an eclipse run configuration for Jetty Cocoon: - On configurations 'Main' tab use 'Loader' as the main class. - On the Arguments tab set: - Program arguments: "tools\jetty\conf\main.xml" - VM arguments: "-Djava.endorsed.dirs=./lib/endorsed" "-Dwebapp=./build/webapp" "-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser" "-Djetty.port= -Djetty.admin.port=8889" "-Dhome=." "-Dloader.jar.repositories=./tools/jetty/lib,./lib/endorsed" "-Dloader.main.class=org.mortbay.jetty.Server" Can you please help me ? Thanks a lot Flavio Palumbo >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >From: Olivier Billard <[EMAIL PROTECTED]> >Subject: Re: cocoon under eclipse >Date: Mon, 19 Apr 2004 15:06:10 +0200 > > >Hi Flavio, It may come from a dependency on blocks Check the block.properties if you didn't forget a block on what an other block depends... -- Olivier Billard - To uns >bscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * Este correo ha sido procesado por el Antivirus del Grupo FCC. * * Este correo ha sido procesado por el antivirus del Grupo FCC. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon under eclipse
Flavio Palumbo wrote: - make sure ./tools/loader is on your eclipse classpath (it isn't by default More precicely this should read "add it to the source path" since the files in that folder are java files, not class files. Then you should also add ./tools/jetty/lib/jetty.jar to the classpath. Hope this helps, Unico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon under eclipse
Hi Olivier, thank you for the replay, but I overtook that phase ; in fact I found on the mail archive a mail of yours with links to Wiki pages "LoadInEclipse" and "DebuggingCocoon"; so I rebuilt my project following that documents ; unfortunately the built went fine, but when I tried to start jetty from within eclipse, I always get an exception java.lang.NoClassDefFoundError: Loader Exception in thread "main". I configured jetty as an application following these notes, reported at the bottom of the LoadInEclipse document : - make sure ./tools/loader is on your eclipse classpath (it isn't by default) - create an eclipse run configuration for Jetty Cocoon: - On configurations 'Main' tab use 'Loader' as the main class. - On the Arguments tab set: - Program arguments: "tools\jetty\conf\main.xml" - VM arguments: "-Djava.endorsed.dirs=./lib/endorsed" "-Dwebapp=./build/webapp" "-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser" "-Djetty.port= -Djetty.admin.port=8889" "-Dhome=." "-Dloader.jar.repositories=./tools/jetty/lib,./lib/endorsed" "-Dloader.main.class=org.mortbay.jetty.Server" Can you please help me ? Thanks a lot Flavio Palumbo >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >From: Olivier Billard <[EMAIL PROTECTED]> >Subject: Re: cocoon under eclipse >Date: Mon, 19 Apr 2004 15:06:10 +0200 > > >Hi Flavio, It may come from a dependency on blocks Check the block.properties if you didn't forget a block on what an other block depends... -- Olivier Billard - To uns >bscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon under eclipse
Hi Flavio, It may come from a dependency on blocks Check the block.properties if you didn't forget a block on what an other block depends... -- Olivier Billard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon under eclipse
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Maybe its missing some other component required by this class. Have you checked carefully all the logs? No, the CatalogManager.properties file is optional, its absenece isn't harmful. -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 14 de abril de 2004 13:42 Para: [EMAIL PROTECTED] Asunto: RE: cocoon under eclipse *** Este correo ha sido procesado por el Antivirus del Grupo FCC ***-*** Hi David, thanks for the replay, I found the org/apache/cocoon/webapps/session/ContextManager.class in cocoon-session-fw-block.jar under C:\cocoon-2.1.3\build\webapp\WEB-INF\lib ... that seems ok, isn't it ? I noticed that now, when jetty starts, appears this messagge never seen before: Cannot find CatalogManager.properties Maybe this is the cause of the problem. Thanks a lot Flavio Palumbo >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >Subject: RE: cocoon under eclipse >Date: Tue, 13 Apr 2004 17:39:55 +0200 >From: "Carmona Perez, David" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> > > >*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** It seems a problem with the classpath, some core component of Cocoon is missing. Search for the existence of org/apache/cocoon/webapps >session/ContextManager.class in a JAR file. -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: martes, 13 de abril de 2004 12:23 Para: [EMAIL PROTECTED] Asunto: cocoon under eclipse *** >*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, I tried to put cocoon under eclipse, building a new project in eclipse, addressing the directory of a working built of cocoon 2.1.3 > The goal was to try to easily debug cocoon to better understand it. But now when I try to run it with jetty, in the normal way with cocoon servlet, i got the following exception : I run with Win2000, cocoon 2.1.3, jdk 1.4.2_01, jetty. Any >hint ? Thanks a lot Flavio Palumbo Initialization Problem Message: Could not set up component Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not set up component Sender: org.apache.cocoon.servlet >CocoonServlet Source: Cocoon Servlet cause org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) request-uri / full exception chain stacktrace O >iginal Exception: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint [ session-context] (key [session-context]) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComp >nentSelector.java:754) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:414) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239) at org.apache.avalo >.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:302) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143) at org.apache.avalon.excalibur.component. >xcaliburComponentManager.initialize(ExcaliburComponentManager.java:556) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUt >l.java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1369) at or >.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:515) at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436) at org.mortbay.jett >.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at org.mortbay.je >ty.Server.main(Server.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc >ssorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
RE: cocoon under eclipse
Hi David, thanks for the replay, I found the org/apache/cocoon/webapps/session/ContextManager.class in cocoon-session-fw-block.jar under C:\cocoon-2.1.3\build\webapp\WEB-INF\lib ... that seems ok, isn't it ? I noticed that now, when jetty starts, appears this messagge never seen before: Cannot find CatalogManager.properties Maybe this is the cause of the problem. Thanks a lot Flavio Palumbo >-- Original Message -- >Reply-To: [EMAIL PROTECTED] >Subject: RE: cocoon under eclipse >Date: Tue, 13 Apr 2004 17:39:55 +0200 >From: "Carmona Perez, David" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> > > >*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** It seems a problem with the classpath, some core component of Cocoon is missing. Search for the existence of org/apache/cocoon/webapps >session/ContextManager.class in a JAR file. -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: martes, 13 de abril de 2004 12:23 Para: [EMAIL PROTECTED] Asunto: cocoon under eclipse *** >*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, I tried to put cocoon under eclipse, building a new project in eclipse, addressing the directory of a working built of cocoon 2.1.3 > The goal was to try to easily debug cocoon to better understand it. But now when I try to run it with jetty, in the normal way with cocoon servlet, i got the following exception : I run with Win2000, cocoon 2.1.3, jdk 1.4.2_01, jetty. Any >hint ? Thanks a lot Flavio Palumbo Initialization Problem Message: Could not set up component Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not set up component Sender: org.apache.cocoon.servlet >CocoonServlet Source: Cocoon Servlet cause org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) request-uri / full exception chain stacktrace O >iginal Exception: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint [ session-context] (key [session-context]) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComp >nentSelector.java:754) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:414) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239) at org.apache.avalo >.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:302) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143) at org.apache.avalon.excalibur.component. >xcaliburComponentManager.initialize(ExcaliburComponentManager.java:556) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUt >l.java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1369) at or >.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:515) at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436) at org.mortbay.jett >.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at org.mortbay.je >ty.Server.main(Server.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc >ssorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: org.apache.avalon.framework.service.ServiceException: Could not >find component (key [org.apache.cocoon.webapps.session.ContextManager]) (Key='org.apache.cocoon.webapps.session.ContextManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:118) at org.apache.coco >n.webapps.session.components.ContextInputModule.service(ContextInputModule.java
RE: cocoon under eclipse
*** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** It seems a problem with the classpath, some core component of Cocoon is missing. Search for the existence of org/apache/cocoon/webapps/session/ContextManager.class in a JAR file. -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: martes, 13 de abril de 2004 12:23 Para: [EMAIL PROTECTED] Asunto: cocoon under eclipse *** Este correo ha sido procesado por el antivirus del Grupo FCC. ***-*** Hi all, I tried to put cocoon under eclipse, building a new project in eclipse, addressing the directory of a working built of cocoon 2.1.3. The goal was to try to easily debug cocoon to better understand it. But now when I try to run it with jetty, in the normal way with cocoon servlet, i got the following exception : I run with Win2000, cocoon 2.1.3, jdk 1.4.2_01, jetty. Any hint ? Thanks a lot Flavio Palumbo Initialization Problem Message: Could not set up component Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not set up component Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet cause org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) request-uri / full exception chain stacktrace Original Exception: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint [ session-context] (key [session-context]) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:754) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(ExcaliburComponentSelector.java:414) at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:239) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:302) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1369) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:515) at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:436) at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at org.mortbay.jetty.Server.main(Server.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at Loader.invokeMain(Unknown Source) at Loader.run(Unknown Source) at Loader.main(Unknown Source) Caused by: org.apache.avalon.framework.service.ServiceException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) (Key='org.apache.cocoon.webapps.session.ContextManager') at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:118) at org.apache.cocoon.webapps.session.components.ContextInputModule.service(ContextInputModule.java:147) at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:181) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:288) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:736) ... 24 more Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.webapps.session.ContextManager]) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:297)