This discussion is archived
7 Replies Latest reply: Apr 13, 2010 9:20 AM by 757655 RSS

socket write error: Connection reset by peer

765582 Newbie
Currently Being Moderated
Hi,

I have a struts application which reads a large chunk of data and displays back to the UI. While querying data following exception gets thrown

Caused by: java.net.SocketException: socket write error: Connection reset by peer.
     at jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
     at jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:73)
     at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java)
     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
     at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
     at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:193)
     at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:377)
     at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1170)
     at weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:243)
     at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:379)
     at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
     at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:304)
     at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:133)
     at weblogic.servlet.jsp.JspWriterImpl.write(JspWriterImpl.java:245)
     at jsp_servlet.__rbpbdetail._writeText(__rbpbdetail.java:92)
     at jsp_servlet.__rbpbdetail._jspService(__rbpbdetail.java:761)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
     at weblogic.servlet.internal.ServletStubImpl.ewhy this xecute(ServletStubImpl.java:175)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
     at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
     at com.xxx.MyActionServlet.doPost(MyActionServlet.java:125)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)


Can someone help me know how I can get rid of this error. I am using weblogic 9.2 with Jrockit jrockit-R27.4.0-jdk1.5.0_12

Thanks in Advance,
Shalini

Edited by: user12963079 on Apr 13, 2010 3:31 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points