Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97319 invoked from network); 3 Dec 2009 20:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 20:05:50 -0000 Received: (qmail 27736 invoked by uid 500); 3 Dec 2009 20:05:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 27615 invoked by uid 500); 3 Dec 2009 20:05:44 -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 27604 invoked by uid 99); 3 Dec 2009 20:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 20:05:43 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.17] (HELO QMTA10.westchester.pa.mail.comcast.net) (76.96.62.17) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 20:05:41 +0000 Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA10.westchester.pa.mail.comcast.net with comcast id Cd291d0020vyq2s5Ak5LjU; Thu, 03 Dec 2009 20:05:20 +0000 Received: from [192.168.1.200] ([69.143.128.194]) by OMTA05.westchester.pa.mail.comcast.net with comcast id Ck5L1d0094BnRt93Rk5LCT; Thu, 03 Dec 2009 20:05:20 +0000 Message-ID: <4B1819FF.2040700@christopherschultz.net> Date: Thu, 03 Dec 2009 15:05:19 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091130 Thunderbird/3.0 MIME-Version: 1.0 To: Tomcat Users List CC: Gerhardus.Geldenhuis@gta-travel.com Subject: Re: How to get java process id of a user running tomcat References: <4B16D0AD.9030503@christopherschultz.net> <1BCA52CF5845E543B4B81AAFEF2AFD790A223418@LONSEXC01.gta.travel.lcl> In-Reply-To: <1BCA52CF5845E543B4B81AAFEF2AFD790A223418@LONSEXC01.gta.travel.lcl> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerhardus, On 12/3/2009 12:09 PM, Gerhardus.Geldenhuis@gta-travel.com wrote: > Me being the one who made the ridiculous suggestion of using ps, > am now enlightened and will be using jps -mlv and spreading the > word... I would still use CATALINA_PID and not use any kind of process listing along with pattern matching. You're bound to miss cases and kill the wrong process(es). > That being said is there any opinions about the soundness of using > the Redhat/Centos startup/shutdown script for Tomcat? If you are using a package-managed version of Tomcat, using their scripts would seem to be essential. Hopefully, those package-managed scripts ultimately call Tomcat's built-in scripts to be as compatible as possible. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksYGf8ACgkQ9CaO5/Lv0PBmgACgwwi78qECCPUUH8eSzwzvkb7V Gw0Ani1Yc8pO60wb4l4OydFje67EF0Lh =XuDH -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org