Our application deployed on
JBoss 7 sometimes throws below Exception while sending
soap message.
I do not have any problem when i execute same soap message outside jboss using standalone axis client.
17:33:05,902 INFO [org.apache.axis2.transport.http.HTTPSender] (MWFM Worker 3) Unable to sendViaPost to url[https://x.x.x.x/NPCWebApp/services/NPCWebService]: org.apache.axis2.AxisFault: Connection reset at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) [axis2-kernel-1.5.1.jar:] at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:98) [axis2-transport-http-1.5.1.jar:] at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) [truecontrol-client.jar:] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) [truecontrol-client.jar:] at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542) [axis2-transport-http-1.5.1.jar:] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199) [axis2-transport-http-1.5.1.jar:] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76) [axis2-transport-http-1.5.1.jar:] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400) [axis2-transport-http-1.5.1.jar:] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225) [axis2-transport-http-1.5.1.jar:] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435) [axis2-kernel-1.5.1.jar:] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402) [axis2-kernel-1.5.1.jar:] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) [axis2-kernel-1.5.1.jar:] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) [axis2-kernel-1.5.1.jar:] Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) [rt.jar:1.6.0_45] at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) [jsse.jar:1.6] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460) [jsse.jar:1.6] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) [jsse.jar:1.6] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) [jsse.jar:1.6] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) [jsse.jar:1.6] at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) [jsse.jar:1.6] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) [rt.jar:1.6.0_45] at java.io.BufferedOutputStream.write(BufferedOutputStream.java:104) [rt.jar:1.6.0_45] at java.io.FilterOutputStream.write(FilterOutputStream.java:80) [rt.jar:1.6.0_45] at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:89) [axis2-transport-http-1.5.1.jar:] ... 26 more
Below is My Axis client class :
Rgds,
Joy