Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A6E9E56B for ; Mon, 3 Dec 2012 05:51:34 +0000 (UTC) Received: (qmail 40945 invoked by uid 500); 3 Dec 2012 05:51:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40883 invoked by uid 500); 3 Dec 2012 05:51:30 -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 40857 invoked by uid 99); 3 Dec 2012 05:51:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 05:51:29 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Chuck.Caldarale@unisys.com designates 216.82.254.195 as permitted sender) Received: from [216.82.254.195] (HELO mail200.messagelabs.com) (216.82.254.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2012 05:51:22 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-9.tower-200.messagelabs.com!1354513860!11866020!1 X-Originating-IP: [192.61.61.105] X-StarScan-Received: X-StarScan-Version: 6.6.1.8; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12770 invoked from network); 3 Dec 2012 05:51:00 -0000 Received: from naedge.unisys.com (HELO USEA-NAEDGE2.unisys.com) (192.61.61.105) by server-9.tower-200.messagelabs.com with RC4-SHA encrypted SMTP; 3 Dec 2012 05:51:00 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE2.unisys.com (192.61.61.105) with Microsoft SMTP Server (TLS) id 8.3.83.0; Sun, 2 Dec 2012 23:50:58 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Sun, 2 Dec 2012 23:50:58 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sun, 2 Dec 2012 23:51:18 -0600 Subject: RE: Tomcat7.0-Setting property 'threadPriority' did not find a matching property Thread-Topic: Tomcat7.0-Setting property 'threadPriority' did not find a matching property Thread-Index: Ac3REhZYf1AzmeQeRDSvyBHfbZfjfQABiiGg Message-ID: <99C8B2929B39C24493377AC7A121E21FC4948CE073@USEA-EXCH8.na.uis.unisys.com> References: <87A2EF9B84859D4CB9EEE8A929888B4529CB7F7A@szxeml502-mbx.china.huawei.com> In-Reply-To: <87A2EF9B84859D4CB9EEE8A929888B4529CB7F7A@szxeml502-mbx.china.huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org > From: Weixiang [mailto:kurt.weixiang@huawei.com]=20 > Subject: Tomcat7.0-Setting property 'threadPriority' did not find a match= ing property > I config in my server.xml for a HTTP Connector named "MGMT": =20 > threadPriority=3D"java.lang.Thread#Thread.MAX_PRIORITY" The documentation may give the impression that you can set the value of the= threadPriority attribute to a string referring to some static field, but t= hat is not actually the case. You must supply a numeric value here, which = will normally be 10 for the maximum. You can write a simple Java program t= o display the values of Thread.MIN_PRIORITY and Thread.MAX_PRIORITY, and ch= oose a number within that range. class ThreadPriority { static public void main(String args[]) throws Exception { System.out.format("thread priorities: MIN %d, NORM %d, MAX %d%n", Thread.MIN_PRIORITY, Thread.MIN_PRIORITY, Thread.MAX_= PRIORITY); } } The JDK 7 Javadoc includes a description for the priority values, but it do= esn't appear to be completely accurate: http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.lang.Thr= ead.MAX_PRIORITY - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org