当前位置: 代码迷 >> Java Web开发 >> socket write error 把Tomcat 搞挂了好几次,求帮助!解决思路
  详细解决方案

socket write error 把Tomcat 搞挂了好几次,求帮助!解决思路

热度:82   发布时间:2016-04-17 11:13:56.0
socket write error 把Tomcat 搞挂了好几次,求帮助!
Tomcat 上全都是以下这个错,没别的,一报就报了这一堆,这个socket write error 能解决吗??或者是怎么能把它输出到日志文件上,由于它的出现,Tomcat 挂了好几次了,太影响了!!!望各位指点!!!

ClientAbortException: java.net.SocketException: Software caused connection abor
t: socket write error
  at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.ja
va:373)
  at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
  at org.apache.coyote.tomcat5.OutputBuffer.writeBytes(OutputBuffer.java:4
01)
  at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:388)
  at org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream
.java:76)
  at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:
1861)
  at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ
let.java:985)
  at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java
:448)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
  at com.zyht.common.UserFilter.doFilter(UserFilter.java:23)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
  at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
  相关解决方案