cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jank Michael <michael.j...@kapsch.net>
Subject cocoon initialization problem (excalibur.store)
Date Thu, 18 Nov 2004 10:17:59 GMT
Hi!

We are using cocoon 2.1.5.1 in a linux production environment, JDK 1.4.2_05 and Tomcat 5.0.28.
Sometimes (rarely!) after the tomcat startup, the first access to the cocoon webapp produces
a cocoon initialization error complaining that the component org.apache.excalibur.store.Store
cannot be found, but after a tomcat restart everything works fine again.

As this problem does not occur regularly, the cocoon configuration (eg. cocoon.xconf) should
be OK. Any help would be highly appreciated!

If the problem occurs, any request returns the following error:

<html><head><title>Initialization Problem</title></head>
<body><h1>Initialization Problem</h1><p><span>Message:</span>
Unable to lookup store with role org.apache.excalibur.store.Store</p><p>
<span>Description:</span> org.apache.avalon.framework.parameters.ParameterException:
Unable to lookup store with role org.apache.excalibur.store.Store</p><p>
<span>Sender:</span> org.apache.cocoon.servlet.CocoonServlet</p><p><span>Source:</span>
Cocoon Servlet</p><p><span>cause</span>
<pre>org.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.excalibur.store.Store/PersistentStore])</pre></p><p>
<span>request-uri</span><pre>/</pre></p><p><span>full
exception chain stacktrace</span>
<pre>Original Exception: org.apache.avalon.framework.service.ServiceException: Could
not find component (key [org.apache.excalibur.store.Store]) (Key='org.apache.excalibur.store.Store')
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:119)
at org.apache.cocoon.transformation.helpers.DefaultIncludeCacheManager.parameterize(DefaultIncludeCacheManager.java:410)
at org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:267)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:274)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:527)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1360)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.excalibur.store.Store])
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:243)
at org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:297)
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:107)
... 38 more
Caused by: org.apache.avalon.framework.parameters.ParameterException: Unable to look up persistent
store.
at org.apache.excalibur.store.impl.MRUMemoryStore.parameterize(MRUMemoryStore.java:122)
at org.apache.cocoon.components.store.impl.DefaultStore.parameterize(DefaultStore.java:37)
at org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:267)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:274)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:234)
... 40 more
Caused by: org.apache.avalon.framework.service.ServiceException: Could not find component
(key [org.apache.excalibur.store.Store/PersistentStore]) (Key='org.apache.excalibur.store.Store/PersistentStore')
at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:119)
at org.apache.excalibur.store.impl.MRUMemoryStore.parameterize(MRUMemoryStore.java:118)
... 45 more
Caused by: org.apache.avalon.framework.component.ComponentException: Could not find component
(key [org.apache.excalibur.store.Store/PersistentStore])
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)
... 46 more


bye,
Michael


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


Mime
View raw message