tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Chhatpar <Arun.Chhat...@nbci.com>
Subject HANDLER THREAD PROBLEM: java.lang.NullPointerException ???
Date Mon, 05 Jun 2000 21:02:51 GMT
Hi team,
	I am running Tomcat3.1M2 + Apache1.3.12 on a Sparc Solaris Machine
and am getting the following error :-

java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:75)
        at
org.apache.tomcat.service.connector.AJP12ResponseAdapter.sendStatus(Ajp12Con
nectionHandler.java:389)
        at
org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(HttpResponseAd
apter.java:111)
        at
org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(BufferedServl
etOutputStream.java:127)
        at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServl
etOutputStream.java:239)
        at
org.apache.tomcat.core.ResponseImpl.flushBuffer(ResponseImpl.java:298)
        at
org.apache.tomcat.core.HttpServletResponseFacade.flushBuffer(HttpServletResp
onseFacade.java:229)
        at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:195)
        at
_0002fview_0005ffolders_0002ejspview_0005ffolders_jsp_0._jspService(_0002fvi
ew_0005ffolders_0002ejspview_0005ffolders_jsp_0.java:368)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:172)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:259)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:367)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:390)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:147)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334
)
        at java.lang.Thread.run(Thread.java:479)
HANDLER THREAD PROBLEM: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.tomcat.service.connector.AJP12ResponseAdapter.sendStatus(Ajp12Con
nectionHandler.java:389)
        at
org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(HttpResponseAd
apter.java:111)
        at
org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(BufferedServl
etOutputStream.java:127)
        at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServl
etOutputStream.java:239)
        at
org.apache.tomcat.core.BufferedServletOutputStream.write(BufferedServletOutp
utStream.java:186)
        at
java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:223)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:237)
        at java.io.PrintWriter.flush(PrintWriter.java:124)
        at org.apache.tomcat.core.ResponseImpl.finish(ResponseImpl.java:175)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:149)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334
)
        at java.lang.Thread.run(Thread.java:479)

I read on one of the mailing lists to get the latest src code and recompile
it. After doing so there is no exception on the console, but still the
server hangs after some time. After this one guy suggested to increase the
ulimit from 64 to 1024, but this didn't help either :(
Has someone faced this kind of a problem, any suggestions and solutions are
highly appreciated.

Thanks in advance,
Arun.

Mime
View raw message