• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

java.net.SocketException: Connection reset

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,

Recently we are facing below Exception during hevay trafiic duration. We use JBoss 4.2.2 for soap message trnsfer with other party.

2015-03-11 00:00:45,804 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: xmlWriter 2 :: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><MNPFrame xmlns="MNPProtocol.xsd"><SDA><MessageSenderTelco>181</MessageSenderTelco><MessageReceiverTelco>999</MessageReceiverTelco><RequestId>181-303529689621617581</RequestId><Timestamp>2015-03-11T00:00:45.734+05:30</Timestamp><SubscriberResult><SubscriberNumber>919000000000</SubscriberNumber><ResultCode>0</ResultCode></SubscriberResult></SDA></MNPFrame>
2015-03-11 00:00:45,804 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: Key : SYNIVERSE_CH_URL, Value : https://remoteip:remoteport/mnpserver/services/mnpservice
2015-03-11 00:00:45,804 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: Key : SYNIVERSE_CH_URL, Value : https://remoteip:remoteport/mnpserver/services/mnpservice
2015-03-11 00:00:45,804 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: Customer type is person
2015-03-11 00:00:45,804 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: Invoking SyniverseAttachmentClient.send method
2015-03-11 00:00:45,804 INFO [NP_SYS_AL] 180-M-181-20150305-B100544|159161978|180-M-181-20150305-B100544|SDA : SyniverseAttachmentClient : send : Input Patameters are :: WSDL URL :https://remoteip:remoteport/mnpserver/services/mnpservice, portID :180-M-181-20150305-B100544, CustomerType :person
2015-03-11 00:00:45,804 INFO [NP_SYS_AL] 180-M-181-20150305-B100544|159161978|180-M-181-20150305-B100544|SDA : SyniverseAttachmentClient : send : fileName and file path are null ::
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: inside MNpservicestub send
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: after initiating msgCtx :: [MessageContext: logID=urn:uuid:F36C52138FCEA134B71426013740862]
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: operClient :: org.apache.axis2.description.OutInAxisOperationClient@36c71d0b
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: send...
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: operclient initiated
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: operclient initiated 2
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: MNPSERVICESTUB filename :: null
2015-03-11 00:00:45,805 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: MNPSERVICESTUB no attachment file
2015-03-11 00:00:45,826 INFO [STDOUT] Mar 11, 2015 12:00:45 AM [Plug-in standard output]: MNPProtocol.xsd :: MNPFrame
2015-03-11 00:00:45,889 INFO [org.apache.axis2.transport.http.HTTPSender] Unable to sendViaPost to url[https://remoteip:remoteport/mnpserver/services/mnpservice]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:739)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.hp.np.ch.syniverse.axis2.client.MnpserviceStub.send(MnpserviceStub.java:214)
at com.hp.np.ch.syniverse.SyniverseAttachmentClient.send(SyniverseAttachmentClient.java:74)
at com.hp.np.ch.syniverse.SyniverseMessageDispatcher.sendToMCH(SyniverseMessageDispatcher.java:9275)
at com.hp.np.ch.syniverse.SyniverseMessageDispatcher.send(SyniverseMessageDispatcher.java:600)
at com.hp.np.ch.adapter.NPAdapterLayerWSImpl.invoke(NPAdapterLayerWSImpl.java:235)
at com.hp.np.mwfm.NPWebServiceNode.nodeEntered(NPWebServiceNode.java:213)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker._step1(WFMEngineWorker.java:830)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker.access$300(WFMEngineWorker.java:107)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker$8.run(WFMEngineWorker.java:1349)
at com.hp.ov.activator.mwfm.engine.EngineWorkerThread.run(EngineWorkerThread.java:90)
2015-03-11 00:00:45,890 FATAL [NP_SYS_AL] 180-M-181-20150305-B100544|159161978|180-M-181-20150305-B100544|SDA : SyniverseAttachmentClient : send
org.apache.axis2.AxisFault: Connection reset
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.hp.np.ch.syniverse.axis2.client.MnpserviceStub.send(MnpserviceStub.java:214)
at com.hp.np.ch.syniverse.SyniverseAttachmentClient.send(SyniverseAttachmentClient.java:74)
at com.hp.np.ch.syniverse.SyniverseMessageDispatcher.sendToMCH(SyniverseMessageDispatcher.java:9275)
at com.hp.np.ch.syniverse.SyniverseMessageDispatcher.send(SyniverseMessageDispatcher.java:600)
at com.hp.np.ch.adapter.NPAdapterLayerWSImpl.invoke(NPAdapterLayerWSImpl.java:235)
at com.hp.np.mwfm.NPWebServiceNode.nodeEntered(NPWebServiceNode.java:213)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker._step1(WFMEngineWorker.java:830)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker.access$300(WFMEngineWorker.java:107)
at com.hp.ov.activator.mwfm.engine.WFMEngineWorker$8.run(WFMEngineWorker.java:1349)
at com.hp.ov.activator.mwfm.engine.EngineWorkerThread.run(EngineWorkerThread.java:90)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:739)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.apache.commons.httpclient.HttpParser.readRawLine(Unknown Source)
at org.apache.commons.httpclient.HttpParser.readLine(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.readLine(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)

Regards,
Jaya
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!