tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Au <bi...@cnet.com>
Subject NullPointerException / Broken Pipe
Date Wed, 30 Aug 2000 14:36:23 GMT
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