• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Unable to sendViaPost to url[https://x.x.x.x/NPCApp/services/NPCService]

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
I think he's gonna try to grab my monkey. Do we have a monkey outfit for this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic