大家有没有见过这样的日志帮忙分析一下错误原因

03-08-04 wubai
我的环境是:

系统:redhat advance server

数据库:sybase

WEB服务器:tomcat

2003-07-22 08:19:53 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:675)

at org.apache.catalina.connector.HttpResponseBase.doFlushBuffer(HttpResponseBase.java:795)

at org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseBase.java:785)

at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:594)

at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:268)

at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:160)

at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:135)

at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:269)

at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:184)

at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1996)

at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1745)

at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1073)

at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:506)

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:260)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)

at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)

at java.lang.Thread.run(Thread.java:536)

2003-07-22 08:23:13 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:675)

at org.apache.catalina.connector.HttpResponseBase.doFlushBuffer(HttpResponseBase.java:795)

at org.apache.catalina.connector.HttpResponseBase.flushBuffer(HttpResponseBase.java:785)

at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java:594)

at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:268)

at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:160)

at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:135)

at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:269)

at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:184)

at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1996)

at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1745)

at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1073)

at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:506)

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:260)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)

at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)

at java.lang.Thread.run(Thread.java:536)

哪位帮看看!

sprsong
2003-08-04 13:00
以前在redhat的weblogic6.1上见过类似错误类型

我们找了很就发现原因是一个客户连续发出了好多请求,比如连续点击提交按钮,或者某些人的浏览器奇怪设置会在load页面里的每个图片时都请求一个socket,这样也会造成这个类型的错误。

至于你的情况我不敢说,希望可以有帮助

wubai
2003-08-04 13:57

那你们是怎么解决的啊!?

请指教!

多谢!

mellon
2003-08-04 14:51

中提到了一点点,不知是否有帮助

sprsong
2003-08-04 16:08
具体问题了,我们的问题解决办法是:

对于提交多次,可以给<form>里加一句话!onsubmit=formname.submitButtonName.disabled=true;

但是struts好像可以自动处理这种情况吧!

对于页面加载造成多次连接,一方面检查html代码,一方面使用图片预加载,如果只是某一台客户电脑才造成问题,就不管它了。

wubai
2003-08-04 16:12

用Java真愁人!

要是PHP或ASP就不会有这种现像了!

sprsong
2003-08-04 16:26
知道孙悟空的金箍棒吗!越是重量级的东西越不好耍,但是用好的话威力就越大!

wubai
2003-08-06 15:59

我用的是tomcat,是不是tomcat的原因

可不可以换成其它的如resin

可不可以像这样组合:apache+tomcat 或者apache+resin

猜你喜欢