cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: cocoon under eclipse
Date Tue, 13 Apr 2004 15:39:55 GMT
***********************
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:flavio.palumbo@fastwebnet.it]
Enviado el: martes, 13 de abril de 2004 12:23
Para: users@cocoon.apache.org
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)
	at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:324)
	at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:106)
	... 29 more




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message