1. java.net.SocketException:Connection reset by peer:
JVM_recv in socket input stream read.
2. IOException:Connection reset by peer:socket write error.
3. IOExcepion:Broken pipe.
All this exceptions are not thrown at the same time and might not always been thrown.
These Exceptions are mainly caused due to the resubmission of jsp page twice. By using Input type = 'submit' itself submits the page not need to call from java script as form.submit. If we want to use form.submit from java script for Input type as 'submit' then you need to disable the submit button after one click.
The threads running under the server may not be executing synchronously and inappropriate page submissions can cause this exceptions.