webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

java.net.SocketException: Connection reset by peer: socket write error -- From Developer

  • 1.  java.net.SocketException: Connection reset by peer: socket write error -- From Developer

    Posted Fri August 03, 2012 06:19 AM

    Hi,

    In our dev environment, we are using the latest version 8 Integration server and Developer and the integration server is installed in Unix. We are having the strange issue in Developer, Whenever try to save the service from developer the below error is occuring and we could not save the flow service.

    It takes almost more than 30 mins for doing a simple mapping in a service,

    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
    at com.wm.net.HttpOutputStream.write(HttpOutputStream.java:72)
    at com.wm.util.ByteOutputBuffer.writeToStream(ByteOutputBuffer.java:132)
    at com.wm.net.HttpPostBufferStream.writeToStream(HttpPostBufferStream.java:106)
    at com.wm.net.NetURLConnection._getInputStream(NetURLConnection.java:350)
    at com.wm.net.NetURLConnection.getInputStream(NetURLConnection.java:259)
    at com.wm.driver.comm.b2b.http.SessionHTTPLink.transportMsg(SessionHTTPLink.java:102)
    at com.wm.driver.comm.b2b.http.HTTPLink$HTTPSendReceive.run(HTTPLink.java:474)
    at java.lang.Thread.run(Thread.java:662)

    Anyone has encountered this issue in your environment? any solution would be more helpful?


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: java.net.SocketException: Connection reset by peer: socket write error -- From Developer

    Posted Fri September 21, 2012 11:17 AM

    Please check your Java heap space (min,max) in server.bat or server.sh file and try to increase the space according to your machine requirements


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: java.net.SocketException: Connection reset by peer: socket write error -- From Developer

    Posted Thu March 07, 2013 10:50 AM

    Hi,

    You need to check a few things here

    1. Is your server handling the request/responses accurately. For that look at the Server > Statistics and see the Usage and Memory. If your memory is consistently 100%, you would need to add more physical memory to the server, as the server is running heavily loaded.

    2. You connectivity between your IS and Developer. To test that use filezilla to upload a big file from your local machine to the the unix server say about 10MB and see how long it takes. A longer upload time should tell you the network is sloe. So it aint your server giving the issue.

    Hope this helps.


    #webMethods
    #Integration-Server-and-ESB