[ 
https://issues.apache.org/jira/browse/AXIS2-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521548
 ] 

Shameen Pillai commented on AXIS2-3068:
---------------------------------------

The problem is reproduced in Axis2 1.3. Below is the new stackTrace:

Shameen

org.apache.axis2.AxisFault: problem accessing the parser. Parser already 
accessed!
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
        at 
org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:72)
        at 
org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
        at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
        at 
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
        at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at 
com.wbst.wil.batch.adapter.UtilityServicesStub.sendCommunication(UtilityServicesStub.java:1141)
        at 
com.wbst.wil.batch.adapters.wil.WILAdapter.getSendCommunicationResponse(WILAdapter.java:223)
        at 
com.wbst.wil.batch.adapters.wil.WILAdapter.getServiceResponse(WILAdapter.java:91)
        at 
com.wbst.wil.batch.batchprocessors.bulksend.SendSingleCommunicationRequestHandler.getServiceResponse(SendSingleCommunicationRequestHandler.java:321)
        at 
com.wbst.wil.batch.batchprocessors.bulksend.SendSingleCommunicationRequestHandler.processRequest(SendSingleCommunicationRequestHandler.java:212)
        at 
com.wbst.wil.batch.ejb.session.stateless.TimerRegistrationBean.processRequest(TimerRegistrationBean.java:73)
        at 
com.wbst.wil.batch.ejb.session.stateless.TimerRegistration_b7cn80_EOImpl.processRequest(TimerRegistration_b7cn80_EOImpl.java:46)
        at 
com.wbst.wil.batch.batchprocessors.bulksend.SendSingleCommunicationRequestHandler.handleRequest(SendSingleCommunicationRequestHandler.java(Compiled
 Code))
        at 
com.wbst.wil.batch.ejb.base.messagedriven.WibsBatchRequestHandlerMDB.onMessage(WibsBatchRequestHandlerMDB.java(Compiled
 Code))
        at weblogic.ejb20.internal.MDListener.execute(MDListener.java(Compiled 
Code))
        at 
weblogic.ejb20.internal.MDListener.onMessage(MDListener.java(Compiled Code))
        at weblogic.jms.client.JMSSession.onMessage(JMSSession.java(Compiled 
Code))
        at weblogic.jms.client.JMSSession.execute(JMSSession.java(Compiled 
Code))
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled 
Code))
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
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.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:237)
        at 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:225)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java(Compiled
 Code))
        at 
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:421)
        at 
org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:68)
        ... 32 more


> 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
>            Assignee: Amila Chinthaka Suriarachchi
>
> 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