You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Messing, Elad" <el...@eml-d.villa-bosch.de> on 2005/05/17 15:04:12 UTC
AW: Exceptions in Tomcat's stdout.log - solved + bug suspect
Hello all
Just wanted to add the solution to the problem :
It seems like I had a .jx file with an <img> tag while the src to the image was a bad url, referenceing to a URL un-handed by Cocoon.
So , the tag was something like : <img src="foledr/file.gif"> and there is no pipeline handling "foledr/*.gif".
What I got was a very large stdout.log, the exception bellow, and also this exception in the sitemap.log in the \log directory of my web-application [1].
Now, can someone say why this is, if this is the desired behavior (feature) or a bug ?
Thanks
Elad
[1] Exception from sitemap.log :
***************************
ERROR (2005-05-17) 14:34.58:664 [sitemap] (/wlan/theme-resources/images/spacer.gif) http-8080-Processor25/AbstractProcessingPipeline: Unabled to release processing component.
org.apache.cocoon.ProcessingException: Unable to remove component from automatic release: no environment available.
at org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelease(CocoonComponentManager.java:484)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release(AbstractProcessingPipeline.java:185)
at org.apache.cocoon.components.source.impl.SitemapSource.reset(SitemapSource.java:434)
at org.apache.cocoon.components.source.impl.SitemapSource.recycle(SitemapSource.java:461)
at org.apache.cocoon.components.source.impl.SitemapSourceFactory.release(SitemapSourceFactory.java:78)
at org.apache.excalibur.source.impl.SourceResolverImpl.release(SourceResolverImpl.java:269)
at org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:543)
at org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:553)
at org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:303)
at org.apache.cocoon.sitemap.ContentAggregator.recycle(ContentAggregator.java:268)
at org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:724)
at org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:77)
at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:984)
at org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:212)
at org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:425)
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:305)
at org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:286)
at org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:633)
at org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:238)
at org.apache.cocoon.Cocoon.process(Cocoon.java:648)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
***************************
-----Ursprüngliche Nachricht-----
Von: Messing, Elad
Gesendet: Freitag, 13. Mai 2005 16:20
An: users@cocoon.apache.org
Betreff: AW: Exceptions in Tomcat's stdout.log
Thank you Michael,
I will upgrade as soon as possible.
But - This only related to the second exception.
Any clues regarding the first one (NullPointerException) ?
Thanks
Elad
-----Ursprüngliche Nachricht-----
Von: Michael.Straessle@bk.admin.ch [mailto:Michael.Straessle@bk.admin.ch]
Gesendet: Freitag, 13. Mai 2005 16:05
An: users@cocoon.apache.org
Betreff: Re: Exceptions in Tomcat's stdout.log
You should upgrade to 2.1.7, see
http://issues.apache.org/bugzilla/show_bug.cgi?id=34572
HTH
michael
-----Ursprüngliche Nachricht-----
Von: Messing, Elad [mailto:elad.messing@eml-d.villa-bosch.de]
Gesendet: Freitag, 13. Mai 2005 15:33
An: users@cocoon.apache.org
Betreff: Exceptions in Tomcat's stdout.log
Hello all
I am using Cocoon 2.1.6 on a windows XP machine.
In the last days my server became very slow. I checked it and saw that my Tomcat's stdout.log is very big.
It is full with exceptions which I have no idea where they have came from.
It is actually the same 2 exceptions, but they are created on each request. They are only showed at the log, and not on screen. Everything seems to work fine, but they clutter the work of the server.
Could you maybe direct me to their origin ?
Thanks !
<snip>
**************************************************************
2.
These 2 exceptions seems related to me. First is :
- cocoon-ehcache-1Cache: Could not create disk store
java.io.IOException: Index file C:\Programme\Apache Software Foundation\Tomcat 5.0\cocoon-ehcache-1.index could not created.
at
net.sf.ehcache.store.DiskStore.createNewIndexFile(DiskStore.java:620)
</snip>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org