cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: ArrayIndexOutOfBound exception under heavy load
Date Thu, 20 Jun 2002 16:34:40 GMT
> From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
> 
> can it be this?

Are you sure that this is A Good Thing (tm) to use WebLogic's Xalan? :-)

> java.lang.ArrayIndexOutOfBoundsException
> 	at
> weblogic.apache.xalan.serialize.SerializerToXML.accum(
> SerializerToXML.java:1321)


Vadim


> 
> load testing tool waits for a response. response is not coming, then
it
> drops the request after time-out. transformer's still running, but
suddenly
> request's gone, ... then ArrayOutOfBound exception
> 
> after load-test is over, no exceptions, page works.
> 
> here's the part of error.log
> FATAL_E (2002-06-20) 12:06.24:306
>
[core.xslt-processor](/cocoon/html/com.plateausystems.elms.client.html.p
wa.r
> eport.PwaReportMaterialData) ExecuteThread: '8' for queue:
> 'default'/TraxErrorHandler: Error in TraxTransformer:
> javax.xml.transform.TransformerException:
> java.lang.ArrayIndexOutOfBoundsException
> javax.xml.transform.TransformerException:
> java.lang.ArrayIndexOutOfBoundsException
> 	at
>
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:
> 725)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(Ele
mApp
> lyTemplates.java:422)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.jav
> a:226)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
form
> erImpl.java:2243)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmer
> Impl.java:2069)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.j
> ava:1171)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31
96)
> 	at java.lang.Thread.run(Thread.java:484)
> ---------
> java.lang.ArrayIndexOutOfBoundsException
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.flushElem(ResultTreeHandl
er.j
> ava:868)
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHa
ndle
> r.java:952)
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHand
ler.
> java:306)
> 	at
>
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:
> 716)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(Ele
mApp
> lyTemplates.java:422)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.jav
> a:226)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
form
> erImpl.java:2243)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmer
> Impl.java:2069)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.j
> ava:1171)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31
96)
> 	at java.lang.Thread.run(Thread.java:484)
> ---------
> java.lang.ArrayIndexOutOfBoundsException
> 	at
>
weblogic.apache.xalan.serialize.SerializerToXML.accum(SerializerToXML.ja
va:1
> 321)
> 	at
>
weblogic.apache.xalan.serialize.SerializerToXML.outputLineSep(Serializer
ToXM
> L.java:195)
> 	at
>
weblogic.apache.xalan.serialize.SerializerToXML.indent(SerializerToXML.j
ava:
> 2241)
> 	at
>
weblogic.apache.xalan.serialize.SerializerToHTML.startElement(Serializer
ToHT
> ML.java:559)
> 	at
>
weblogic.apache.xalan.transformer.TransformerIdentityImpl.startElement(T
rans
> formerIdentityImpl.java:995)
> 	at
>
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:
130)
> 	at
>
org.apache.cocoon.serialization.AbstractTextSerializer$NamespaceAsAttrib
utes
> .startElement(AbstractTextSerializer.java:473)
> 	at
>
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:
130)
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.flushElem(ResultTreeHandl
er.j
> ava:858)
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHa
ndle
> r.java:952)
> 	at
>
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHand
ler.
> java:306)
> 	at
>
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:
> 716)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(Ele
mApp
> lyTemplates.java:422)
> 	at
>
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.jav
> a:226)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
form
> erImpl.java:2243)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmer
> Impl.java:2069)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.j
> ava:1171)
> 	at
>
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:31
96)
> 	at java.lang.Thread.run(Thread.java:484)
> ERROR   (2002-06-20) 12:06.24:321   [access](Unknown-URI)
> Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while
trying
> to close stream.
> java.net.SocketException: Connection aborted by peer: socket write
error
> 	at java.net.SocketOutputStream.socketWrite(Native Method)
> 	at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
> 	at
>
weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:
189)
> 	at
> weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:165)
> 	at
weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:248)
> 	at
>
weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.ja
va:1
> 52)
> 	at
>
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStr
eamI
> mpl.java:119)
> 	at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1177)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
> :265)
> 	at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
> :200)
> 	at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etCo
> ntext.java:2495)
> 	at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java
> :2204)
> 	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> 	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> > Sent: Thursday, June 20, 2002 12:27 PM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: ArrayIndexOutOfBound exception under heavy load
> >
> >
> > > From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
> > >
> > > When I load test my document generation under Cocoon it throws me
> > this:
> > >
> > > java.lang.RuntimeException:
java.lang.ArrayIndexOutOfBoundsException
> > >         at
> > >
> > org.apache.xalan.transformer.TransformerImpl.run(TransformerIm
> > pl.java:32
> > 31)
> > >         at java.lang.Thread.run(Thread.java:484)
> > >
> >
> > Xalan (IMHO) has nasty error logging. This could be re-thrown
> > exception,
> > and you original stacktrace might be lost.
> >
> > See/hack TransformerImpl.java:3231.
> >
> > Vadim
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.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