From tomcat-user-return-93553-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Wed Feb 25 09:48:54 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 70732 invoked from network); 25 Feb 2004 09:48:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Feb 2004 09:48:54 -0000 Received: (qmail 52957 invoked by uid 500); 25 Feb 2004 09:48:02 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 52746 invoked by uid 500); 25 Feb 2004 09:48:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 52729 invoked from network); 25 Feb 2004 09:48:00 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.184) by daedalus.apache.org with SMTP; 25 Feb 2004 09:48:00 -0000 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AvveH-0006oN-00 for tomcat-user@jakarta.apache.org; Wed, 25 Feb 2004 10:48:13 +0100 Received: from [80.128.30.157] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AvveG-0003xg-00 for tomcat-user@jakarta.apache.org; Wed, 25 Feb 2004 10:48:12 +0100 Message-ID: <403C6EF8.2090901@cyberspaceroad.com> Date: Wed, 25 Feb 2004 10:46:32 +0100 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031021 X-Accept-Language: de MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 4.1.29 CoyoteAdapter Exception References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7be52423742ce504c1b541fa1f258887 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Randall, I've often had issues that cause major problems, and my experience is that user groups and mailing lists are normally unable to help without there being an easily reproducible error. For instance, are you able to nail it down to a particular page or servlet? Does it happen regularly or at random? Can you make a test case? Sorry I can't be any help, but good luck finding it. Adam On 02/25/2004 12:03 AM Randall Svancara wrote: > What would cause the coyote connector to return a null pointer > exception. Every time this happens, mod_jk is unable to communicate > with tomcat and as a result our web service is unusable. Is this a > tomcat bug, or a problem with running tomcat on Windows XP..... > > Anyway, I have looked through this user group and found some other > people with this problem on Solaris, but no real answers. > > Thanks. > > > > > 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) > > > > > > > -----Original Message----- From: Randall Svancara Sent: Tuesday, > February 24, 2004 11:34 AM To: Tomcat Users List Subject: RE: Tomcat > 4.1.29 CoyoteAdapter Exception > > > Here is my server.xml in full for anyone interested. It is at the > end of this email. > > > > -----Original Message----- From: Randall Svancara Sent: Tuesday, > February 24, 2004 11:14 AM To: Tomcat Users List Subject: RE: Tomcat > 4.1.29 CoyoteAdapter Exception > > > Hmm...I am unable to find anything in google regarding this error. > > -----Original Message----- From: Randall Svancara Sent: Tuesday, > February 24, 2004 8:48 AM To: tomcat-user@jakarta.apache.org Subject: > 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. > > 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 ThreadsPerChild 600 > MaxRequestsPerChild 0 > > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > > > > className="org.apache.catalina.mbeans.ServerLifecycleListener" > debug="0"/> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > debug="0"/> > > > > name="simpleValue" type="java.lang.Integer" value="30"/> > > name="UserDatabase" auth="Container" > type="org.apache.catalina.UserDatabase" description="User database > that can be updated and saved"> name="UserDatabase"> factory > org.apache.catalina.users.MemoryUserDatabaseFactory > pathname > conf/tomcat-users.xml > > > > > > name="Tomcat-Standalone"> > > > > > port="8080" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" > connectionTimeout="20000" useURIValidationHack="false" > disableUploadTimeout="true" /> > > > > > > > port="8019" minProcessors="100" maxProcessors="600" > enableLookups="false" redirectPort="8443" acceptCount="10" debug="99" > connectionTimeout="60000" useURIValidationHack="false" > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> > > > > > > > > > > > > > > > > > jvmRoute="worker1"> > > > > className="org.apache.catalina.logger.FileLogger" > prefix="catalina_log." suffix=".txt" timestamp="true"/> > > > > className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" > resourceName="UserDatabase"/> > > > > > > > > > > > > debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> > > > > > > className="org.apache.catalina.logger.FileLogger" directory="logs" > prefix="localhost_log." suffix=".txt" timestamp="true"/> > > > > > > docBase="examples" debug="0" reloadable="true" crossContext="true"> > prefix="localhost_examples_log." suffix=".txt" timestamp="true"/> > home="com.wombat.empl.EmployeeRecordHome" > remote="com.wombat.empl.EmployeeRecord"/> > > > > > > value="15"/> value="context.param.value" override="false"/> name="jdbc/EmployeeAppDb" auth="SERVLET" > type="javax.sql.DataSource"/> name="jdbc/EmployeeAppDb"> > usersa > password > driverClassName > org.hsql.jdbcDriver > driverName > jdbc:HypersonicSQL:database > type="javax.mail.Session"/> > mail.smtp.host localhost > name="linkToGlobalResource" global="simpleValue" > type="java.lang.Integer"/> > > > > > > > > > > > > -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org