[ https://issues.apache.org/jira/browse/AXIS2-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137891#comment-17137891 ]
Robert Lazarski commented on AXIS2-5487: ---------------------------------------- I have read all the comments, including the issue HTTPCLIENT-910 marked as "Won't fix" . Best I can tell, a deprecated httpclient 3.x class AutoCloseInputStream had some unexpected behavior that several people did a pretty good analysis on. In any event, AutoCloseInputStream is not present in in httpclient 4.x. I've yet to see anyone who upgraded to have this issue. The upgrade can be performed to httpclient-4.5.12.jar httpcore-4.4.13.jar by including those in your WAR and using this config in your axis2.xml. <transportSender name="http" class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender"> <parameter name="PROTOCOL">HTTP/1.1</parameter> <parameter name="Transfer-Encoding">chunked</parameter> <!-- If following is set to 'true', optional action part of the Content-Type will not be added to the SOAP 1.2 messages --> <!-- <parameter name="OmitSOAP12Action">true</parameter> --> </transportSender> <transportSender name="https" class="org.apache.axis2.transport.http.impl.httpclient4.HTTPClient4TransportSender"> <parameter name="PROTOCOL">HTTP/1.1</parameter> <parameter name="Transfer-Encoding">chunked</parameter> </transportSender> > Attempted read on closed stream - II > ------------------------------------ > > Key: AXIS2-5487 > URL: https://issues.apache.org/jira/browse/AXIS2-5487 > Project: Axis2 > Issue Type: Bug > Components: client-api > Affects Versions: 1.6.2 > Environment: Windows XP SP2, JDK 1.7, AXIS2-1.6.2, Jetty 7.2.0 > Reporter: Espen Rydningen > Priority: Major > Labels: apache-mime4j-core-0.7.2, axiom_1.2.13, axis2_1.6.2 > Attachments: DebugAndStacktrace.txt, wsRequest.txt, wsResponse.txt > > > After upgrading from Axis2 1.5.6 to Axis2 1.6.2 we started receiving this > "org.apache.axiom.om.OMException: java.io.IOException: Attempted read on > closed stream." > WS request and response is attached > Debug log and stacktrace is attached -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org