Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 95593 invoked from network); 26 Jun 2008 14:18:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 14:18:52 -0000 Received: (qmail 9394 invoked by uid 500); 26 Jun 2008 14:18:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 9367 invoked by uid 500); 26 Jun 2008 14:18:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 9356 invoked by uid 99); 26 Jun 2008 14:18:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 07:18:41 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 14:17:52 +0000 Received: (qmail 30678 invoked from network); 26 Jun 2008 09:18:08 -0500 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 26 Jun 2008 09:18:08 -0500 Message-ID: <4863A58E.7020700@hanik.com> Date: Thu, 26 Jun 2008 09:19:58 -0500 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: NullPointerExceptions - ReplicationValve problem... References: <48625622.2060803@inbox-online.com> <486262F9.1000207@hanik.com> <48626BE5.10806@inbox-online.com> <48628DEE.2000305@hanik.com> <48634F7E.9090903@inbox-online.com> In-Reply-To: <48634F7E.9090903@inbox-online.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org then I would leave it running without a filter, the difference is negligible, so that way you run error free Filip Milan Cvejic wrote: > Unfortunately i don't have test case... Can you suggest me some way so > i can > make test case, and give results back to you. > > Interesting thing is that if filter parameter is empty for example: > filter="" /> > > i don't get any exceptions. In any other case null pointer exceptions > occur. > > Filip Hanik - Dev Lists wrote: >> it happens on the line ReplicationValve.java >> >> 348 : Manager manager = >> request.getContext().getManager(); >> >> >> probably getContext() returns null, >> do you have a simple test case how this is happening? >> >> Filip >> >> Milan Cvejic wrote: >>> I am using 6.0.14 version of tomcat. And jdk 1.6 update 4. Any >>> suggestions ? >>> >>> Thanks. >>> >>> Filip Hanik - Dev Lists wrote: >>>> what version of tomcat 6 are you using? >>>> >>>> Filip >>>> >>>> Milan Cvejic wrote: >>>>> Hello, >>>>> i am getting null pointer exceptions when i add the following line >>>>> in server.xml >>>>> >>>>> >>>> filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" >>>>> /> >>>>> >>>>> if i remove that line everything is working fine... but load is >>>>> increased... >>>>> >>>>> here is part from catalina.out >>>>> >>>>> 23-Jun-2008 17:04:39 org.apache.catalina.connector.CoyoteAdapter >>>>> service >>>>> SEVERE: An exception or error occurred in the container during the >>>>> request processing >>>>> java.lang.NullPointerException >>>>> at >>>>> org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:348) >>>>> >>>>> at >>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) >>>>> >>>>> at >>>>> org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419) >>>>> >>>>> at >>>>> org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:394) >>>>> >>>>> at >>>>> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508) >>>>> >>>>> at java.lang.Thread.run(Thread.java:619) >>>>> >>>>> >>>>> Thanks for any help. >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To start a new topic, e-mail: users@tomcat.apache.org >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org