Jason Zhou created AXIS-2884:
--------------------------------

             Summary: Not thread-safe in 
org.apache.axis.message.SOAPBody.outputImpl()
                 Key: AXIS-2884
                 URL: https://issues.apache.org/jira/browse/AXIS-2884
             Project: Axis
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Jason Zhou


Got below error when calling axis client code under multiple-threads

WARN  [27 Nov 2012 13:54:06]- [org.apache.axis.attachments.AttachmentsImpl] 
Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: 
 faultString: java.util.ConcurrentModificationException
faultActor: 
 faultNode: 
 faultDetail: 
        
{http://xml.apache.org/axis/}stackTrace:java.util.ConcurrentModificationException
        at 
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
        at java.util.AbstractList$Itr.next(AbstractList.java:343)
        at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:138)
        at 
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
        at 
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
        at 
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
        at org.apache.axis.Message.saveChanges(Message.java:621)
        at 
org.apache.axis.handlers.HandlerChainImpl.postInvoke(HandlerChainImpl.java:208)
        at 
org.apache.axis.handlers.HandlerChainImpl.handleRequest(HandlerChainImpl.java:154)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:143)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to