cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27249] New: - You cannot lookup components on a disposed ComponentLocator exception
Date Thu, 26 Feb 2004 11:53:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27249>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27249

You cannot lookup components on a disposed ComponentLocator exception

           Summary: You cannot lookup components on a disposed
                    ComponentLocator exception
           Product: Cocoon 2
           Version: 2.1.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: John.Webber@jentro.com


We're using Cocoon 2.1.3 and we get this error message regularly in our
development environment (Linux, Tomcat, HSQLDB, JDK1.4.2).  For a typical stack
trace see below. When the exception occurs, the only thing that seems to help is
restarting Tomcat. Googling shows that a few other users have reported this
problem in the past year, but I haven't seen any solution. So far, we've only
seen it in our development environment, not in our production environment
(Oracle 9i). Wish I could give more detailed information as to when it occurs,
but it always seems to strike out of the blue (but usually when we've been
trying out a lot of changes).
We're not using Flowscript, Woody or other blocks, just core Cocoon.

Bertrand Delacretaz added in cocoon-users:

"I've seen this recently on both 2.1.3 and (I think) 2.1.4, but it was very late
on a deadline and I didn't have time to investigate, just found a workaround.

It happened right after making a CVS commit of a sitemap.xmap while Cocoon was
running, and the workaround was to make any change to the sitemap to cause it to
be reloaded. Happened under macosx with JDK 1.4.1. "


ERROR   (2004-02-26) 10:58.50:878   [navigation.access]
(/navigation/logout.html) Thread-6/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Failed to load sitemap from
file:/home/czenger/dev/webapps/navigation/sitemap.xmap:
java.lang.IllegalStateException: You cannot lookup components on a disposed
ComponentLocator
       at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:395)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:511)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:348)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.handleCocoonRedirect(TreeProcessor.java:411)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:363)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
       at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
       at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:534)
     Caused by: java.lang.IllegalStateException: You cannot lookup components on
a disposed ComponentLocator                                at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:201)
                                              at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:324)
                                                             at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:169)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:128)
        at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:388)
                                                        ... 37 more
ava.lang.IllegalStateException: You cannot lookup components on a disposed
ComponentLocator                           at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:201)
                                              at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:324)
                                                             at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:169)
        at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:128)
        at
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.build(DefaultTreeBuilder.java:388)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(TreeProcessor.java:511)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:348)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.handleCocoonRedirect(TreeProcessor.java:411)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:363)
       at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
       at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
       at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
       at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
       at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
       at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
       at java.lang.Thread.run(Thread.java:534)

Mime
View raw message