cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Murphy <br...@terralab.com>
Subject Problems with XSP files and Cocoon 2.0 Release
Date Sat, 01 Dec 2001 22:10:18 GMT
Hey guys,

Is there a reason why changes to XSP files aren't picked up when I have the
application set to reloadable and pass the ?cocoon-reload=1 parameter to a page
request?  Changes to JSP, XML, and sitemap files are caught, but if I change an XSP
file I get this error:



WARN    (2001-12-02) 06:04.05:941   [cocoon  ] (/dev/main3)
Thread-34/ServerPagesGenerator: ServerPagesGenerat
or.generate()
java.lang.IllegalStateException: You cannot select a Component from a disposed
ComponentSelector
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Unknown Source)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java
:208)
        at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.jav
a:142)
        at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:239)
        at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99
)
        at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:277)
        at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400239(sitemap_xmap.java:2705)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2041)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1923)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java)
        at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java)
        at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java)
        at java.lang.Thread.run(Thread.java:484)


So basically, any time I change an XSP file I have to restart Tomcat (even if I
change the file back to it's original configuration Cocoon remains further broken
with this current URL).  I seem to have problems adding XSP files to the sitemap as
well without restarting Tomcat.  As I said above, I do not experience these problems
when using JSPs or XML files.

FYI: here is our configuration:
Linux Mandrake 8.1
Tomcat 4.0.1 + Apache 1.3.19 via mod_webapp
Cocoon 2.0 Release Binary
Nothing else special about the configuration at all.

Thanks!
Bryan

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message