cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Smirnoff" <asmirn...@vistar.ca>
Subject Re: rare but painfull exception
Date Wed, 13 Mar 2002 22:34:28 GMT

----- Original Message -----
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 13, 2002 4:38 PM
Subject: RE: rare but painfull exception


> > From: Alexander Smirnoff [mailto:asmirnoff@vistar.ca]
> >
> > Hi folks,
> >
> > Once in a while I'm getting some very nasty exception, which paralyzes
> > the whole server. It could be started from any pipeline and then
> subsequent
> > calls to server will have the same exception. I has something to do
> with
> > CachingStreamPipeline(379).
>
> This line is just re-throwing RuntimeException. Below this stack trace
> of the ProcessingException, another stack of RuntimeException should be
> printed which you did not sent.
>

That is the problem - it could appear from any place, then the exception persist even
if loggin from different computer.

It is very difficult to debug because this exception could pop up once in a month with
no obvious reason.

Next lines shows the exception:

java.lang.RuntimeException: Problem in getTransformer:Error in creating Transform Handler
 at org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer.java:241)
 at org.apache.cocoon.components.pipeline.CachingEventPipeline.connectPipeline(CachingEventPipeline.java:356)
 at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:210)
 at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:364)
 at org.apache.cocoon.www.WEB_INF.conf.sitemap_xmap.resource_look_and_feel(sitemap_xmap.java:1618)

But this is also rethrowing of another one:

org.apache.cocoon.ResourceNotFoundException: Resource not found
file:/C:/java/tomcat/webapps/gwvas/stylesheets/system/status2html.xsl
 at org.apache.cocoon.components.source.URLSource.getInputStream(URLSource.java:157)
 at org.apache.cocoon.components.source.URLSource.getInputSource(URLSource.java:224)
 at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTemplates(XSLTProcessorImpl.java:244)
 at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:119)
 at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:111)
 at org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer.java:238)
 at org.apache.cocoon.components.pipeline.CachingEventPipeline.connectPipeline(CachingEventPipeline.java:356)
 at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:210)
 at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:364)

This file DOES exists. But the same problem appears to all others pipelines.
It cease to find XSL stylesheets. After restarting tomcat problem disappears.

>
> > Does anyone else had this kind of exception?
>
> Nope.

Just a try shot...

>
>
> > I'm using Tomcat 4.0.1 Cocoon 2rc1, WindowsNT...
>
> Consider upgrade to version 2.0.1.

Yes I do, but apparantely this is not very simple task for our implementation.

>
> Vadim
>
>
> > ERROR   (2002-02-22) 13:24.37:880   [root    ] (/gwvas/site/fleettree)
> > HttpProcessor[8000][2]/CocoonServlet: Problem with servlet
> > java.lang.reflect.InvocationTargetException:
> > org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> > java.lang.RuntimeException: Problem in getTransformer:Error in
> creating
> > Transform Handler
> >  at
> >
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach
> ingStr
> > eamPipeline.java:379)
> >  at
> >
> org.apache.cocoon.www.WEB_INF.conf.sitemap_xmap.resource_look_and_feel(s
> itemap
> > _xmap.java:1618)
> >  at java.lang.reflect.Method.invoke(Native Method)
> >  at
> >
> org.apache.cocoon.sitemap.AbstractSitemap.invokeMethod(AbstractSitemap.j
> ava:35
> > 1)
> >  at
> >
> org.apache.cocoon.www.WEB_INF.conf.sitemap_xmap.wildcardMatchN400282(sit
> emap_x
> > map.java:3306)
> >  at
> >
> org.apache.cocoon.www.WEB_INF.conf.sitemap_xmap.process(sitemap_xmap.jav
> a:1922
> > )
> >  at
> >
> org.apache.cocoon.www.WEB_INF.conf.sitemap_xmap.process(sitemap_xmap.jav
> a:1824
> > )
> >  at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
> >  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:116)
> >  at org.apache.cocoon.Cocoon.process(Cocoon.java:495)
> >  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >
> > Thanks Alex.
> >
> >
>
>
> ---------------------------------------------------------------------
> 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>
>
>



---------------------------------------------------------------------
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