Subscribe to
Posts [Atom]


Axis2 java.net.SocketException: Broken pipe

Tuesday, February 03, 2009

You may get a stack trace with some of the following elements:

Caused by: com.ctc.wstx.exc.WstxIOException: null ClientAbortException: java.net.SocketException: Broken pipe org.apache.axis2.AxisFault

One problem may be that your client application may be timing out.

In Axis2 you can increase time out with code that does something like:

serviceStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(900000);

900 000 milliseconds = 15 minutes

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home