You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Arun Chhatpar <Ar...@nbci.com> on 2000/06/14 20:59:13 UTC

HANDLER THREAD PROBLEM

Hi team,
	I am running latest Tomcat build with JDK1.2.2 (Hotspot), Apache on
Solaris 5.6 . And I see this error most often on the console :-

HANDLER THREAD PROBLEM: java.lang.NullPointerException
java.lang.NullPointerException
        at
org.apache.tomcat.service.connector.AJP12ResponseAdapter.sendStatus(Ajp12Con
nectionHandler.java, Compiled Code)
        at
org.apache.tomcat.service.http.HttpResponseAdapter.endHeaders(HttpResponseAd
apter.java, Compiled Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.sendHeaders(BufferedServl
etOutputStream.java, Compiled Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedServl
etOutputStream.java, Compiled Code)
        at
org.apache.tomcat.core.BufferedServletOutputStream.close(BufferedServletOutp
utStream.java, Compiled Code)
        at java.io.OutputStreamWriter.close(OutputStreamWriter.java,
Compiled Code)
        at java.io.PrintWriter.close(PrintWriter.java, Compiled Code)
        at org.apache.tomcat.core.ResponseImpl.finish(ResponseImpl.java,
Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java, Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)

And after some time, the server hangs. I am not sure what is causing Tomcat
to die. Some body on this list suggested to compile the latest jserv_mod.so
to eliminate this problem. But that didn't help. 

I would highly appreciate any suggestions or comments. 

Thanks,
Arun.

Re: HANDLER THREAD PROBLEM

Posted by Joseph Dane <jo...@hotu.com>.
>>>>> "Arun" == Arun Chhatpar <Ar...@nbci.com> writes:

    Arun> Hi team,
    Arun> 	I am running latest Tomcat build with JDK1.2.2 (Hotspot), Apache on
    Arun> Solaris 5.6 . And I see this error most often on the console :-

    Arun> HANDLER THREAD PROBLEM: java.lang.NullPointerException
    Arun> java.lang.NullPointerException
    Arun>         at

...

For the record, I'm getting the same error, 1.2.2 linux.  For me it
seems to be triggered only when the response exceeds a certain
(BUFSIZ?) size.

-- 

joe