Axis2 client stub fails randomly under load with a Parser error
---------------------------------------------------------------

                 Key: AXIS2-3068
                 URL: https://issues.apache.org/jira/browse/AXIS2-3068
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.1.1
         Environment: IBM AIX 5.2
IBM JDK 1.4.2
2 WAY SSL
            Reporter: Shameen Pillai


We are using axis2 (1.1.1) generated webservices client stub with xmlbeans. 
This client stub is used to connect to a web service over 2 way 
(bi-directional) ssl.

The problem is that under load (~ 7 transactions per second), the stub throws 
the below exception. The approximate failure rate is 0.005%. Even though it is 
a very small percentage, it is preventing us from using axis2 generated stubs 
for what we are trying to achieve.

Please help.

Thanks,
Shameen Pillai 
860 967 6474


org.apache.axis2.AxisFault: problem accessing the parser. Parser already 
accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!
            at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java(Compiled
 Code))
            at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java(Compiled 
Code))
            at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java(Compiled
 Code))
            at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java(Compiled
 Code))
            at 
com.wbst.wil.batch.adapter.UtilityServicesStub.sendCommunication(UtilityServicesStub.java(Compiled
 Code))

Caused by: org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!
            at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java(Compiled
 Code))

Caused by: org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!
            at 
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.writeRequest(SOAPOverHTTPSender.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java(Compiled
 Code))
            at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java(Compiled 
Code))
            at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java(Inlined 
Compiled Code))
            at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java(Compiled
 Code))
            at 
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java(Compiled
 Code))

Caused by: javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!
            at 
org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java(Compiled 
Code))
            at 
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serializeNode(StreamingOMSerializer.java(Compiled
 Code))
            at 
org.apache.axiom.om.impl.serialize.StreamingOMSerializer.serialize(StreamingOMSerializer.java(Inlined
 Compiled Code))
            at 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSerializerUtil.java(Inlined
 Compiled Code))
            at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java(Compiled
 Code))
            at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java(Compiled
 Code))
            at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java(Compiled
 Code))
            at 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java(Compiled
 Code))
            at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java(Compiled
 Code))
            at 
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java(Compiled
 Code))
            at 
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.handleOMOutput(SOAPOverHTTPSender.java(Compiled
 Code))

org.apache.axis2.AxisFault: problem accessing the parser. Parser already 
accessed!; nested exception is: 
           javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!; nested exception is: 
            org.apache.axis2.AxisFault: problem accessing the parser. Parser 
already accessed!; nested exception is: 
            javax.xml.stream.XMLStreamException: problem accessing the parser. 
Parser already accessed!
            at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java(Compiled
 Code))
            at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java(Compiled 
Code))
            at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java(Compiled
 Code))
            at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java(Compiled
 Code))
            at 
com.wbst.wil.batch.adapter.UtilityServicesStub.sendCommunication(UtilityServicesStub.java(Compiled
 Code))


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to