tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Barlow <sbar...@peopledoc.com>
Subject Re: Tomcat 3.1 hangs for servlet operations
Date Mon, 14 Aug 2000 08:44:54 GMT
We have experienced a similar problem with the following exception appearing in

the tomcat.log

JDK 1.2.2, Windows NT, Apache 3.1 release build.

Context log: path="/pdaccord" Socket Exception/pdaccord/images/
Context log: path="/pdaccord" Socket Exception/pdaccord/images/help.gif
Context log: path="/pdaccord" Error in default service() : Connection reset by
peer: socket write error
 java.net.SocketException: Connection reset by peer: socket write error
 at java.net.SocketOutputStream.socketWrite(Native Method)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
 at
org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdapter.java:146)

 at
org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletOutputStream.java:122)

 at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServletOutputStream.java,
Compiled Code)
 at
org.apache.tomcat.core.BufferedServletOutputStream.write(BufferedServletOutputStream.java,
Compiled Code)
 at
org.apache.tomcat.servlets.DefaultServlet.serveStreamAsStream(DefaultServlet.java,
Compiled Code)
 at
org.apache.tomcat.servlets.DefaultServlet.serveStream(DefaultServlet.java:350)
 at org.apache.tomcat.servlets.DefaultServlet.serveDir(DefaultServlet.java,
Compiled Code)
 at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:208)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)

 at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
 at java.lang.Thread.run(Thread.java:479)
Context log: path="/pdaccord" <b>Internal Servlet Error:</b><br>

Doesnt seem to be causing any trouble with the Servlet.

Aron Kramlik wrote:

> Here is a strange one that we found today.
> We had Tomcat 3.1 running with 2 web apps for a few hours.
> It then stopped serving any pages that were being accessed
> through servlets.  If we just access a JSP which does not get any
> dynamic data then Tomcat does serve the page correctly.
>
> >From the tomcat.log it seems like an internal error to Tomcat but
> this, of course, might not be the case.  We have only seen this problem
> once before, a few weeks ago.
>
> Any suggestions?
>
> Thanks,
> Aron.
>
> Context log: path="/portal" Broken pipe /portal/images/HomePageLogo.jpg
> Context log: path="/gcs" Error in default service() : Broken pipe
>  java.io.IOException: Broken pipe
>         at java.net.SocketOutputStream.socketWrite(Native Method)
>         at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
>         at
> org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdap
> t
> er.java:146)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletO
> u
> tputStream.java:122)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServ
> l
> etOutputStream.java:249)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.write(BufferedServletOut
> p
> utStream.java:186)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveStreamAsStream(DefaultServle
> t
> .java:363)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveStream(DefaultServlet.java:3
> 5
> 0)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveFile(DefaultServlet.java:314
> )
>         at
> org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:218)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503
> )
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnectio
> n
> (Ajp12ConnectionHandler.java:156)
>         at
> org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:366)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411)
>         at java.lang.Thread.run(Thread.java:479)
> Context log: path="/gcs" <b>Internal Servlet Error:</b><br>
> <pre>
> java.io.IOException: Broken pipe
>         at java.net.SocketOutputStream.socketWrite(Native Method)
>         at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
>         at
> org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAdap
> t
> er.java:146)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServletO
> u
> tputStream.java:122)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServ
> l
> etOutputStream.java:249)
>         at
> org.apache.tomcat.core.BufferedServletOutputStream.write(BufferedServletOut
> p
> utStream.java:186)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveStreamAsStream(DefaultServle
> t
> .java:363)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveStream(DefaultServlet.java:3
> 5
> 0)
>         at
> org.apache.tomcat.servlets.DefaultServlet.serveFile(DefaultServlet.java:314
> )
>         at
> org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:218)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503
> )
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnectio
> n
> (Ajp12ConnectionHandler.java:156)
>         at
> org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:366)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411)
>         at java.lang.Thread.run(Thread.java:479)
> </pre>
>
> Context log: path="/gcs" Broken pipe /gcs/images/HomePageLogo.jpg


Mime
View raw message