首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

java.net.SocketException: Connection reset-Tomcat4日志中好多这种异常。

2014-01-26 
Tomcat4日志中好多这种异常报出,是不是我得数据库连接写的不好还是,有其他别的原因?以前一直用也没有出现这

Tomcat4日志中好多这种异常报出,是不是我得数据库连接写的不好还是,有其他别的原因?以前一直用也没有出现这么多这种情况,这是偶而出一次,会不会因为访问的人数加大而导致的呢?有没有什么好的解决办法?   
    
  2004-09-06 01:35:48 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
  java.net.SocketException: Connection reset
  at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
  at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
  at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java:679)
  at org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseBase.java:741)
  at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:652)
  at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:312)
  at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:175)
  at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1893)
  at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1642)
  at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1194)
  at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
  at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
  at java.lang.Thread.run(Thread.java:534)        

热点排行