当前位置: 代码迷 >> Java Web开发 >> tomcat开的时间长了就不报错了.解决方法
  详细解决方案

tomcat开的时间长了就不报错了.解决方法

热度:45   发布时间:2016-04-17 14:01:49.0
tomcat开的时间长了就不报错了...
严重:   Servlet.service()   for   servlet   jsp   threw   exception
java.net.SocketException:   Software   caused   connection   abort:   socket   write   error
                at   java.net.SocketOutputStream.socketWrite0(Native   Method)
                at   java.net.SocketOutputStream.socketWrite(Unknown   Source)
                at   java.net.SocketOutputStream.write(Unknown   Source)
                at   org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffe
r.doWrite(InternalOutputBuffer.java:764)
                at   org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(Identit
yOutputFilter.java:118)
                at   org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputB
uffer.java:570)
                at   org.apache.coyote.Response.doWrite(Response.java:560)
                at   org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffe
r.java:353)
                at   org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:354)
                at   org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.ja
va:381)
                at   org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:37
0)
                at   org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputSt
ream.java:89)
                at   org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:
1698)
                at   org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ
let.java:809)
                at   org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java
:325)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
                at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
                at   org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:654)
                at   org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:445)
                at   org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:379)
                at   org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:292)
                at   org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
  相关解决方案