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

Robert Lazarski commented on AXIS2-5487:
----------------------------------------

>From your last stacktrace - client side it looks like - you received an 
>ArrayIndexOutOfBoundsException in the HTTPClient4TransportSender.cleanup() 
>method.

Considering you are "running traffic at the rate of 100 transaction per second" 
, you seem to be hitting some type of OS or server limit that is creating an 
HTTP error state.

Are you running SSL? Does this Exception occur at the timeout set in your 
client code? Anything on the server side to indicate the problem? Does your AIX 
logs show any errors, maybe /var/adm/ras/errlog?

I noticed your error is around chunked encoding, you could try turning that 
off. Is your server on AIX running http 1.1? Our docs say:

"If you use HTTP1.1 for its Keep-Alive ability, but you need to disable 
chunking at runtime (some servers don't allow chunked requests to prevent 
denial of service), you can do so in the Stub:"

https://axis.apache.org/axis2/java/core/docs/http-transport.html

Options option = client.getOptions();
          option.setProperty(HTTPConstants.CHUNKED,false);

> 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

Reply via email to