Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 43750 invoked from network); 24 May 2007 15:44:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2007 15:44:56 -0000 Received: (qmail 86844 invoked by uid 500); 24 May 2007 15:44:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 86825 invoked by uid 500); 24 May 2007 15:44:49 -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 86814 invoked by uid 99); 24 May 2007 15:44:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 08:44:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.149.128.207] (HELO smtp3.aruba.it) (62.149.128.207) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 May 2007 08:44:40 -0700 Received: (qmail 7449 invoked by uid 89); 24 May 2007 15:44:17 -0000 Received: by simscan 1.1.0 ppid: 6699, pid: 6727, t: 15.6973s scanners: clamav: 0.88.4/m:40/d:1722 Received: from unknown (HELO ?10.6.2.36?) (mirko@artofsolving.com@88.211.50.98) by smtp3.aruba.it with SMTP; 24 May 2007 15:44:01 -0000 Message-ID: <4655B321.8010009@artofsolving.com> Date: Thu, 24 May 2007 16:45:37 +0100 From: Mirko Nasato User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: users@tomcat.apache.org Subject: NPE when setting executor on AJP Connector Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: smtp3.aruba.it 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've just installed Tomcat 6.0.13 and noticed in conf/server.xml that there is a new Executor element - commented out by default - saying "The connectors can use a shared executor, you can define one or more named thread pools". So tried and enabled it, using the same executor for both the HTTP and the AJP Connectors: However I then get an exception when starting Tomcat: -- May 24, 2007 3:14:34 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw exception java.lang.NullPointerException at org.apache.catalina.startup.ConnectorCreateRule._setExecutor(ConnectorCreateRule.java:61) at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:54) at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276) -- The executor seems to work only with the HTTP Connector, not the AJP one. However according to the docs the standard AJP implementation should support 'executor' as well http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html Should I file a bug report? Thanks Mirko --------------------------------------------------------------------- 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