tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morahg, Yoav" <ymor...@gist.com>
Subject RE: NullPointerException / Broken Pipe
Date Wed, 30 Aug 2000 14:48:45 GMT
I was getting this error message consistently for something I was doing
which I would label as heavy load. I wrote to this group about it several
times, but never got an answer. I finally decided to give tomcat 3.2b a try
and guess what -- the problem went away! I suggest you try upgrading.

-Y

---------------------------
Yoav Morahg
Software Engineer
Gist Communications
(212) 965-1999 xt 122
ymorahg@gist.com


-----Original Message-----
From: William Au [mailto:billa@cnet.com]
Sent: Wednesday, August 30, 2000 10:36 AM
To: tomcat-user@jakarta.apache.org
Subject: NullPointerException / Broken Pipe


I am getting the following exception from tomcat 3.1.  This seems to
happen only
under heavy load.  Any ideas?

Bill

java.lang.NullPointerException
        at
org.apache.tomcat.service.connector.AJP12ResponseAdapter.sendStatus(C
ompiled Code)
        at
org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(Compile
d Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(Compil
ed Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(Compil
ed Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.close(Compiled Cod
e)
        at java.io.OutputStreamWriter.close(Compiled Code)
        at java.io.PrintWriter.close(Compiled Code)
        at org.apache.tomcat.core.ResponseImpl.finish(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Compiled Code)
        at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

----------------entry in tomcat.log--------------------------

Context log: path="/examples" Broken pipe /examples/db4.jsp
Context log: path="/examples" Error in jsp service() : Broken pipe
 javax.servlet.ServletException: Broken pipe
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at javax.servlet.ServletException.<init>(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Compiled Code)
        at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
Context log: path="/examples" <b>Internal Servlet Error:</b><br>
<pre>
javax.servlet.ServletException: Broken pipe
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at javax.servlet.ServletException.<init>(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Compiled Code)
        at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
</pre>
<b>Root cause:</b>
<pre>
java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.socketWrite(Compiled Code)
        at java.net.SocketOutputStream.write(Compiled Code)
        at
org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(Compile
d Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(Compil
ed Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(Compil
ed Code)
        at org.apache.tomcat.core.ResponseImpl.flushBuffer(Compiled
Code)
        at
org.apache.tomcat.core.HttpServletResponseFacade.flushBuffer(Compiled
 Code)
        at org.apache.jasper.runtime.JspWriterImpl.flush(Compiled Code)
        at
_0002fdb_00034_0002ejspdb4_jsp_0._jspService(_0002fdb_00034_0002ejspd
b4_jsp_0.java:163)
        at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compil
ed Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Compiled Code)
        at org.apache.tomcat.service.TcpWorkerThread.run(Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
</pre>


Mime
View raw message