You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2009/03/02 18:12:25 UTC

Re: Tomcat 6 catalina.sh does not remove tomcat.pid

-----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


Re: Tomcat 6 catalina.sh does not remove tomcat.pid

Posted by Marilyn Daum <md...@fireapps.com>.
Thanks for the replies.  Someone here apparently modified the catalina.sh
script.


Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-6-catalina.sh-does-not-remove-tomcat.pid-tp22255263p22294706.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org