tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to get java process id of a user running tomcat
Date Thu, 03 Dec 2009 20:05:19 GMT
-----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


Mime
View raw message