日期:2014-05-17  浏览次数:20860 次

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(Socke
tOutputStream.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:15
6)
        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.renderTemplat
e(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(ComponentTagSuppo
rt.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(Servlet
StubImpl.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(Chara
cterEncodingFilter.java:78)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFi
lter.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(AbstractExpo
rtFilter.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(ServletDispat
cherResult.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(Socke
tOutputStream.java:???)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.Sock