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

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?

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

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.