aspose file tools*
The moose likes Websphere and the fly likes Connection reset by peer: socket write error: java.net.SocketException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Connection reset by peer: socket write error: java.net.SocketException" Watch "Connection reset by peer: socket write error: java.net.SocketException" New topic
Author

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

Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hello,
Iam geeting this error while running my application on WAS4.0 Advanced Edition.The Operating System used is Windows 2000.I don't find any specific reason behind it.
Servlet Error: Connection reset by peer: socket write error: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
at com.ibm.ws.io.Stream.write(Stream.java(Compiled Code))
at com.ibm.ws.http.ResponseStream.writeChunk(ResponseStream.java(Compiled Code))
at com.ibm.ws.http.ResponseStream.writeChunk(ResponseStream.java(Compiled Code))
at com.ibm.ws.http.ResponseStream.write(ResponseStream.java(Compiled Code))
at com.ibm.ws.io.WriteStream.write(WriteStream.java(Compiled Code))
at com.ibm.servlet.engine.srp.SRPConnection.write(SRPConnection.java(Compiled Code))
at com.ibm.servlet.engine.srp.SRPConnection.write(SRPConnection.java(Compiled Code))
at com.ibm.servlet.engine.srt.SRTOutputStream.write(SRTOutputStream.java(Compiled Code))
at java.io.OutputStreamWriter.write(OutputStreamWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.writeOut(BufferedWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flushChars(BufferedWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flush(BufferedWriter.java(Compiled Code))
at com.ibm.servlet.engine.srt.BufferedWriter.flushBuffer(BufferedWriter.java:445)
at com.ibm.servlet.engine.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java(Compiled Code))
at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.flushBuffer(HttpServletResponseProxy.java(Compiled Code))
at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:235)
at FFGraph_jsp_0._jspService(FFGraph_jsp_0.java:534)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:139)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:280)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:415)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:544)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:306)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Please help me out.
Thanks in advance.
Ravi
Jack Daniel
Ranch Hand

Joined: Jun 15, 2002
Posts: 163
hey
As far as I remember, This happens when you terminate the processing of ur web application inbetween or when the time limit is crossed over.
I got the same problem too b4 but not a serious problem i guess.
cheers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection reset by peer: socket write error: java.net.SocketException