cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pelssers, Robby, VF-NL" <robby.pelss...@vodafone.com>
Subject Cocoon2.1.8 fails to startup (could not load class ContextInputModule)
Date Mon, 13 Feb 2006 12:45:17 GMT
Hi All,

I get following exception when trying to run cocoon (cocoon servlet) on
http://localhost:8888.  Other people facing the same problem? How to
proceed? 

Cheers,
Robby Pelssers
------------------------------------------------------------------------
----------------------
Initialization Problem

Message: Could not find component (key
[org.apache.cocoon.webapps.session.ContextManager])

Description:
org.apache.avalon.framework.configuration.ConfigurationException: Could
not load class
org.apache.cocoon.webapps.session.components.ContextInputModule for
component named 'session-context' at
file:/D:/cocoon-2.1.8/build/webapp/WEB-INF/cocoon.xconf:244:151

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

org.apache.avalon.framework.configuration.ConfigurationException: Could
not load class
org.apache.cocoon.webapps.session.components.ContextInputModule for
component named 'session-context' at
file:/D:/cocoon-2.1.8/build/webapp/WEB-INF/cocoon.xconf:244:151
	at
org.apache.cocoon.components.ExtendedComponentSelector.configure(Extende
dComponentSelector.java:235)
	at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerU
til.java:201)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:289)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:108)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali
ze(ExcaliburComponentManager.java:524)
	at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom
ponentManager.java:566)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(Container
Util.java:244)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:336)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(Container
Util.java:244)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1429)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
	at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
	at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandl
er.java:445)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebAp
plicationHandler.java:150)
	at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationCont
ext.java:458)
	at org.mortbay.http.HttpServer.start(HttpServer.java:663)
	at org.mortbay.jetty.Server.main(Server.java:429)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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.component.ComponentException:
Could not set up Component for hint [ session-context] (key
[session-context])
	at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComp
onent(ExcaliburComponentSelector.java:723)
	at
org.apache.cocoon.components.ExtendedComponentSelector.configure(Extende
dComponentSelector.java:228)
	... 23 more
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(Wrapper
ServiceManager.java:80)
	at
org.apache.cocoon.webapps.session.components.ContextInputModule.service(
ContextInputModule.java:112)
	at
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUti
l.java:143)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:271)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:108)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComp
onent(ExcaliburComponentSelector.java:705)
	... 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(E
xcaliburComponentManager.java:265)
	at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone
ntManager.java:335)
	at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrapper
ServiceManager.java:68)
	... 29 more

stacktrace

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(E
xcaliburComponentManager.java:265)
	at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone
ntManager.java:335)
	at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrapper
ServiceManager.java:68)
	at
org.apache.cocoon.webapps.session.components.ContextInputModule.service(
ContextInputModule.java:112)
	at
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUti
l.java:143)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:271)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:108)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComp
onent(ExcaliburComponentSelector.java:705)
	at
org.apache.cocoon.components.ExtendedComponentSelector.configure(Extende
dComponentSelector.java:228)
	at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerU
til.java:201)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(DefaultComponentFactory.java:289)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(ThreadSafeComponentHandler.java:108)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali
ze(ExcaliburComponentManager.java:524)
	at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom
ponentManager.java:566)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(Container
Util.java:244)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:336)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(Container
Util.java:244)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1429)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)
	at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
	at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandl
er.java:445)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebAp
plicationHandler.java:150)
	at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationCont
ext.java:458)
	at org.mortbay.http.HttpServer.start(HttpServer.java:663)
	at org.mortbay.jetty.Server.main(Server.java:429)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)

Apache Cocoon 2.1.8

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


Mime
View raw message