tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat 6 catalina.sh does not remove tomcat.pid
Date Mon, 02 Mar 2009 17:12:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marilyn,

On 2/27/2009 4:58 PM, Marilyn Daum wrote:
> We just upgraded from Tomcat 5.5.23 to Tomcat 6.0.18.  After the
upgrade, our
> shutdown script hangs, waiting for removal of the pid file.  I
compared the
> catalina.sh scripts, and noticed that the Tomcat 6 version does
contain the
> "rm -f $CATALINA_BASE/tomcat.pid" command.  A quick search of the release
> notes turned up nothing on pid changes.  Any comments on why this was
> removed?  For the time being, I'll explicitly add this rm command to our
> catalina.sh script.  Other suggestions are welcom.

It's good that catalina.sh does not remove tomcat.pid, since it never
creates it in the first place. As Chuck points out, you are probably
running a Tomcat packaged by a 3rd-party (like Debian, RedHat, etc.). If
that's the case, you need to consult their documentation and/or mailing
lists. This list, in general, supports only the standard Tomcat
distribution.

If you've modified your own catalina.sh, then you can probably figure
out how to add "rm tomcat.pid" to your own script.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmsE3kACgkQ9CaO5/Lv0PAS8wCghOdJrw6NyqX35t8xJBuBvsHQ
QXMAn1ij2PbzXSuU25VWR6/0k2OAdZaj
=w15+
-----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