You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chamil Thanthrimudalige (JIRA)" <ji...@apache.org> on 2005/10/06 11:47:48 UTC

[jira] Resolved: (AXIS2-254) Axis2 crashes when invoked using multiple threads

     [ http://issues.apache.org/jira/browse/AXIS2-254?page=all ]
     
Chamil Thanthrimudalige resolved AXIS2-254:
-------------------------------------------

    Resolution: Fixed

> Axis2 crashes when invoked using multiple threads
> -------------------------------------------------
>
>          Key: AXIS2-254
>          URL: http://issues.apache.org/jira/browse/AXIS2-254
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Versions: 0.92
>  Environment: Fedora Core 4 running kernel version 2.6.12-1.1456_FC4 
> Java version 1.4.2_08_b3
> Jakartha Tomcat version 5.0.28
>     Reporter: Chamil Thanthrimudalige
>  Attachments: TestService.aar, testing_code.zip
>
> When invoking a web-service through multiple threads after a few requests an error occurs on the server. The full stack trace from Tomcat is appended below.
> To simulate the problem you need to deploy the service attached to this jira issue ["TestService.arr"], and run the ant goal to test the system[All testing code is present in the "testing_code.zip" which is attached]. To run the ant goal you will have to modify the build.xml file according to your system. The number of threads the test operates on and the total number of tests to be run can be controlled through the build.xml file. After modifying the build.xml file run "ant run" to run the tests.
> StandardWrapperValve[AxisServlet]: Servlet.service() for servlet AxisServlet threw exception
> java.util.EmptyStackException
> 	at com.bea.xml.stream.util.Stack.pop(Stack.java:93)
> 	at com.bea.xml.stream.XMLWriterBase.writeEndElement(XMLWriterBase.java:410)
> 	at org.apache.axis2.om.impl.llom.OMSerializerUtil.serializeEndpart(OMSerializerUtil.java:41)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:666)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:689)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:664)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:689)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:664)
> 	at org.apache.axis2.soap.impl.llom.SOAPEnvelopeImpl.serialize(SOAPEnvelopeImpl.java:166)
> 	at org.apache.axis2.om.impl.llom.OMElementImpl.serialize(OMElementImpl.java:689)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:141)
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:100)
> 	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:80)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:154)
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:202)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:182)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira