Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(PLEASE HELP) java.net.SocketException: Connection reset by peer: socket write error

0 views
Skip to first unread message

kenneth

unread,
Aug 31, 2004, 6:05:12 AM8/31/04
to
Everytime start the Tomcat services..problem occurs..
java.net.SocketException: Connection reset by peer: socket write
error. Can you tell me how to avoid it??? The speed of web is very
slow now. about 1 mins per pages (html)....I think it is not related
the Hardware problem...

4/07/14 08:10:00 | --> Wrapper Started as Service
STATUS | wrapper | 2004/07/14 08:10:01 | Launching a JVM...
INFO | jvm 1 | 2004/07/14 08:10:01 | Wrapper (Version 3.0.3)
INFO | jvm 1 | 2004/07/14 08:10:01 |
INFO | jvm 1 | 2004/07/14 08:10:03 | [INFO] Registry - -Loading
registry information
INFO | jvm 1 | 2004/07/14 08:10:03 | [INFO] Registry - -Creating
new Registry instance
INFO | jvm 1 | 2004/07/14 08:10:04 | [INFO] Registry - -Creating
MBeanServer
INFO | jvm 1 | 2004/07/14 08:10:05 | [INFO] Http11Protocol -
-Initializing Coyote HTTP/1.1 on port 8180
INFO | jvm 1 | 2004/07/14 08:10:05 | Starting service
Tomcat-Standalone
INFO | jvm 1 | 2004/07/14 08:10:05 | Apache Tomcat/4.1.12
INFO | jvm 1 | 2004/07/14 08:10:11 | [INFO] Http11Protocol -
-Starting Coyote HTTP/1.1 on port 8180
INFO | jvm 1 | 2004/07/14 08:10:11 | [INFO] ChannelSocket - -JK2:
ajp13 listening on tcp port 8009
INFO | jvm 1 | 2004/07/14 08:10:11 | [INFO] JkMain - -Jk running
ID=0 time=0/78 config=C:\jakarta-tomcat-4.1.12\bin\..\conf\jk2.properties
INFO | jvm 1 | 2004/07/14 08:39:11 | 08:39:11,203 [ INFO]
(ScriptInterfaceInstance.java:126) - INIT Start
INFO | jvm 1 | 2004/07/14 08:39:11 | java.net.SocketException:
Connection reset by peer: socket write error
INFO | jvm 1 | 2004/07/14 08:39:11 | at
java.net.SocketOutputStream.socketWrite(Native Method)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
java.net.SocketOutputStream.write(SocketOutputStream.java:91)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.Response.doWrite(Response.java:513)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:380)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:344)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.tomcat4.OutputBuffer.close(OutputBuffer.java:321)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.coyote.tomcat4.CoyoteWriter.close(CoyoteWriter.java:115)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
nextapp.echoservlet.WindowUI.service(WindowUI.java:203)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
nextapp.echoservlet.Initializer.service(Initializer.java:175)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
nextapp.echoservlet.Connection.process(Connection.java:541)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
nextapp.echoservlet.EchoServer.process(EchoServer.java:303)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
nextapp.echoservlet.EchoServer.doPost(EchoServer.java:223)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
INFO | jvm 1 | 2004/07/14 08:39:11 | at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
INFO | jvm 1 | 2004/07/14 08:39:12 | at
java.lang.Thread.run(Thread.java:479)
INFO | jvm 1 | 2004/07/14 08:39:51 | 08:39:51,234 [ INFO]
(ScriptInterfaceInstance.java:126) - INIT Start
INFO | jvm 1 | 2004/07/14 08:39:51 | java.net.SocketException:
Connection reset by peer: socket write error
INFO | jvm 1 | 2004/07/14 08:39:51 | at
java.net.SocketOutputStream.socketWrite(Native Method)
INFO | jvm 1 | 2004/07/14 08:39:51 | at
java.net.SocketOutputStream.write(SocketOutputStream.java:91)
INFO | jvm 1 | 2004/07/14 08:39:51 | at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
INFO | jvm 1 | 2004/07/14 08:39:51 | at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160)
INFO | jvm 1 | 2004/07/14 08:39:51 | at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523)
INFO | jvm 1 | 2004/07/14 08:39:51 | at
org.apache.coyote.Response.doWrite(Response.java:513)

Steve Horsley

unread,
Sep 1, 2004, 4:44:48 PM9/1/04
to
kenneth wrote:
> Everytime start the Tomcat services..problem occurs..
> java.net.SocketException: Connection reset by peer: socket write
> error. Can you tell me how to avoid it??? The speed of web is very
> slow now. about 1 mins per pages (html)....I think it is not related
> the Hardware problem...
>
>
<trace snipped>

This looks to me like a couple of clients disconnected on you. I don't
think you can stop that kind of thing happening. But I also don't think
it's responsible for extremely slow web serving. Maybe the clients are
giving up on the server BECAUSE of the slow response they get.

Steve

0 new messages