当前位置: 代码迷 >> Java Web开发 >> Connection aborted by peer 错误,求高手
  详细解决方案

Connection aborted by peer 错误,求高手

热度:11504   发布时间:2013-02-25 21:21:26.0
Connection aborted by peer 异常,求高手
我这环境是weblogic816,oracle10g
只要快速的连续点菜单,右侧的frame还没加载完,再点菜单时后台就报这样的错,还有数据多或者查询慢时,点下一页还没反应过来,在点一下也可能出这样的错。

错误如下:
Java code
java.net.SocketException: socket write error: Connection reset by peer.        at jrockit.net.SocketNativeIO.writeBytesPinned(I[BII)V(Native Method)        at jrockit.net.SocketNativeIO.socketWrite(Ljava.io.FileDescriptor;[BII)V(Unknown Source)        at java.net.SocketOutputStream.socketWrite0(Ljava.io.FileDescriptor;[BII)V(SocketOutputStream.java:???)        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)        at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:218)        at weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:259)        at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:243)        at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:311)        at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:156)        at weblogic.servlet.jsp.JspWriterImpl.flush(JspWriterImpl.java:114)        at freemarker.core.Environment.process(Environment.java:178)        at freemarker.template.Template.process(Template.java:232)        at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:168)        at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:530)        at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)        at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)        at jsp_servlet._jsp._tax._rz.__rz_list._jspService(__rz_list.java:256)        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:334)        at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)java.net.SocketException: socket write error: Connection reset by peer.        at jrockit.net.SocketNativeIO.writeBytesPinned(I[BII)V(Native Method)        at jrockit.net.SocketNativeIO.socketWrite(Ljava.io.FileDescriptor;[BII)V(Unknown Source)        at java.net.SocketOutputStream.socketWrite0(Ljava.io.FileDescriptor;[BII)V(SocketOutputStream.java:???)        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)        at weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:218)        at weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:259)        at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:243)        at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:311)        at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:156)        at weblogic.servlet.jsp.JspWriterImpl.flush(JspWriterImpl.java:114)        at freemarker.core.Environment.process(Environment.java:178)        at freemarker.template.Template.process(Template.java:232)        at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:168)        at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:530)        at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)        at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)        at jsp_servlet._jsp._tax._rz.__rz_list._jspService(__rz_list.java:256)        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49)        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:334)        at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
  相关解决方案