Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 71476 invoked from network); 2 Oct 2005 05:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2005 05:17:22 -0000 Received: (qmail 2595 invoked by uid 500); 2 Oct 2005 05:17:11 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 2578 invoked by uid 500); 2 Oct 2005 05:17:11 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 2566 invoked by uid 99); 2 Oct 2005 05:17:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2005 22:17:10 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BB2DAE0 for ; Sun, 2 Oct 2005 07:16:49 +0200 (CEST) Message-ID: <1622249392.1128230209764.JavaMail.jira@ajax.apache.org> Date: Sun, 2 Oct 2005 07:16:49 +0200 (CEST) From: "Chamil Thanthrimudalige (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-254) Axis2 crashes when invoked using multiple threads In-Reply-To: <2123855922.1128229908117.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-254?page=all ] Chamil Thanthrimudalige updated AXIS2-254: ------------------------------------------ Attachment: TestService.aar > 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 > > 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