cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: [C2][Xalan2] Xalan2J problems under heavy load using Apache JMeter
Date Wed, 28 Feb 2001 22:01:57 GMT
Jörg,

Please do a full "check-out" we've moved to Xerces1.3.0 and latest Xalan2J.

Thanks,
dims

--- Jörg Prante <joerg@7val.com> wrote:
> Davanum Srinivas wrote:
> 
> > > Scott, Xalan2J Team,
> >
> > Can you please take a look at the stack trace(s) in the enclosed file. This
> > log was created by running Apache JMeter against the C2, Xerces1.3.0 and
> > Xalan2J all compiled fresh from CVS. All this happened under extremely
> > heavy load against the same URL served by C2. It's easy to reproduce the
> > problem using C2 but very difficult to come up with a stripped down sample.
> 
> I use almost the same configuration: it's a combination of C2 from CVS, 
> Xerces1.2.3, and Xalan2J from C2 CVS. There need not to be heavy load to 
> produce this sporadic exception, it also appears on my single-user local 
> development environment:
> 
> java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.xml.utils.NodeVector.popAndTop(NodeVector.java:234)
> 	at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:378)
> 	at 
> org.apache.xalan.stree.StreeDOMBuilder.endElement(StreeDOMBuilder.java:240)
> 	at 
> org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler.java:550)
> 	at 
> org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandlerWrapper.java:145)
> 	at 
> org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:161)
> 	at 
> org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
> [...]
> 
> I'm sorry but I'm unable to reproduce it because it's a sporadic exception.
> 
> Strange effect: C2 delivers out HTML and completes, but then C2 decides to 
> append a Cocoon error report page (including the stack trace message above) 
> to the HTML page, which both appear in the browser on the same page. Looks 
> funny if you ask me.
> 
> I hope you can trace it down more easily with this additional report. For a 
> complete trace, please have a look at the enclosed file. Note: After making 
> the C2 XSP pages smaller by hand, and retrying the XSP compilation, Xalan2 
> calms down and the exception disappeared.
> 
> Jörg
> 
> -- 
> Jörg Prante
> Sevenval AG (HRB 32757) e-business marketing technologies
> D-50667 Köln . Alter Markt 36-42
> Fon +49 221 65007-0 . Fax 4249891
> http://www.sevenval.de . joerg@7val.com
> > DEBUG   55836   [cocoon  ] (HttpProcessor[8080][1]): ComponentFactory creating new
instance of
> org.apache.cocoon.site.calendar_xsp.
> DEBUG   55836   [cocoon  ] (HttpProcessor[8080][1]): ComponentFactory creating new instance
of
> org.apache.cocoon.site.calendar_xsp.
> DEBUG   55836   [cocoon  ] (HttpProcessor[8080][1]): ComponentFactory creating new instance
of
> org.apache.cocoon.site.calendar_xsp.
> DEBUG   55836   [cocoon  ] (HttpProcessor[8080][1]): ComponentFactory creating new instance
of
> org.apache.cocoon.site.calendar_xsp.
> DEBUG   55836   [cocoon  ] (HttpProcessor[8080][1]): ComponentPool retrieved
> org.apache.cocoon.site.calendar_xsp (org.apache.cocoon.site.calendar_xsp@381d92)
> DEBUG   55837   [cocoon  ] (HttpProcessor[8080][1]): ComponentPool returned
> org.apache.cocoon.generation.ServerPagesGenerator
> (org.apache.cocoon.generation.ServerPagesGenerator@7a5a19)
> DEBUG   55837   [cocoon  ] (HttpProcessor[8080][1]): ComponentPool returned
> org.apache.cocoon.transformation.TraxTransformer
> (org.apache.cocoon.transformation.TraxTransformer@589e56)
> DEBUG   55837   [cocoon  ] (HttpProcessor[8080][1]): ComponentPool returned
> org.apache.cocoon.serialization.HTMLSerializer
> (org.apache.cocoon.serialization.HTMLSerializer@718e8e)
> WARN    55837   [cocoon  ] (HttpProcessor[8080][1]): Error, try to process the error
page
> org.apache.cocoon.ProcessingException: Error generating the
> resource:java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:203)
> 	at org.apache.cocoon.fit_xmap.process(fit_xmap.java:769)
> 	at org.apache.cocoon.sitemap.Handler.process(Handler.java:154)
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:108)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:212)
> 	at xxxxxxxServlet.service(xxxxxxServlet.java:322)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:254)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2119)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
> 	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
> 	at java.lang.Thread.run(Thread.java:484)
> java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.xml.utils.NodeVector.popAndTop(NodeVector.java:234)
> 	at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:378)
> 	at org.apache.xalan.stree.StreeDOMBuilder.endElement(StreeDOMBuilder.java:240)
> 	at org.apache.xalan.stree.SourceTreeHandler.endElement(SourceTreeHandler.java:550)
> 	at org.apache.cocoon.xml.ContentHandlerWrapper.endElement(ContentHandlerWrapper.java:145)
> 	at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:161)
> 	at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
> 	at org.apache.cocoon.xxx_xmap.process(xxxx_xmap.java:769)
> 	at org.apache.cocoon.sitemap.Handler.process(Handler.java:154)
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:108)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:212)
> 	at xxxxxxxxxServlet.service(xxxxxxxxServlet.java:322)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:254)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2119)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
> 	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
> 	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
> 	at java.lang.Thread.run(Thread.java:484)
> > ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message