hi,All I can say is that I had a problem where Tomcat was failing regularly. I switched to Jetty, and haven't had a problem since.
when high loads, the cocoon server display Error in free() in the log file
and loop, then java threads grows and freeze.
Tomcat must be stop (kill -9) and relaunched (every 1/2 days).
Jetty isn't that hard to configure either, so you should be able to switch relatively painlessly.
Regards, Upayavira
2 processors, 1Go ram machine Red Hat 7.3 tomcat 4.0.1 java 1.3.1_10 (-Xms64m -Xss64k -Xmx256m ) very old cocoon release 2.x (don't know where the release is located) postgresql (lastest version)
Any idea ? do i upgrade the java, cocoon, tomcat application; it seem to come from the MRUMemory managing process ? i didn't see a bug like this in forums, web search
My client is ready to pay an french cocoon expert need Paris.
We must solve this very disastrous error, i never had this error before on an older Red Hat release.
Thank you for your help, ideas...
Patrick
I try any parameter in cocoon.xconf, even deactivating the filesystem value
<store class="org.apache.cocoon.components.store.MRUMemoryStore" logger="root.store"> <parameter name="freememory" value="1000000"/> <parameter name="heapsize" value="40000000"/> <parameter name="cleanupthreadinterval" value="10"/> <parameter name="maxobjects" value="100"/> <parameter name="usecleanupthread" value="true"/> <parameter name="threadpriority" value="5"/> <parameter name="filesystem" value="no"/> </store>
[root.sto] (): Error in free() java.util.NoSuchElementException at java.util.LinkedList.remove(LinkedList.java:557) at java.util.LinkedList.removeLast(LinkedList.java:127) at org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.java:3 80) at org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.java:2 83) at org.apache.cocoon.components.store.MRUMemoryStore.store(MRUMemoryStore.java: 268) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.processReader(Ca chingStreamPipeline.java:219) at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac tStreamPipeline.java:116) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:255) at org.apache.cocoon.www.bethe2.sitemap_xmap.wildcardMatchN7CB(sitemap_xmap.jav a:7669) at org.apache.cocoon.www.bethe2.sitemap_xmap.process(sitemap_xmap.java:1703) at org.apache.cocoon.www.bethe2.sitemap_xmap.process(sitemap_xmap.java:1273) at org.apache.cocoon.sitemap.Handler.process(Handler.java:163) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115) at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN1FF(sitemap_xmap.java:2883) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2199) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2134) at org.apache.cocoon.sitemap.Handler.process(Handler.java:163) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:115) at org.apache.cocoon.Cocoon.process(Cocoon.java:446) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:520) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1017) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115 ) at java.lang.Thread.run(Thread.java:479)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]