You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randall Svancara <rs...@adaweb.net> on 2004/02/24 16:48:25 UTC
Tomcat 4.1.29 CoyoteAdapter Exception
Hi,
I am running tomcat 4.1.29, apache 2.0.48, with mod_jk configured on Windows XP. Occasionally, I will receive the following error:
2004-02-23 15:40:07 CoyoteAdapter Requested cookie session id is A02AD09BF242D0D916799B2EBB0FCC92.worker1
2004-02-23 15:40:07 CoyoteAdapter An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:164)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:534)
At which point the web service becomes UNAVAILABLE on port 80 through apache which forwards the requests via mod_jk to
the tomcat 4.1.29 servlet engine. I am including some snippets from my server.xml below for the coyote connector.
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8019" minProcessors="100" maxProcessors="600"
enableLookups="false" redirectPort="8443"
acceptCount="10" debug="10" connectionTimeout="60000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
I have also configured apache with 600 max threads, see snippet below.
# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 600
MaxRequestsPerChild 0
</IfModule>
If someone has any idea what I have misconfigured or if you need more information, let me know.
I am desperate at this point to find the root of this problem that has been plaguing our website since its
release January.
Thank you,
Randall Svancara
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org