You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marilyn Daum <md...@fireapps.com> on 2009/02/27 22:58:34 UTC

Tomcat 6 catalina.sh does not remove tomcat.pid

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.

Marilyn
-- 
View this message in context: http://www.nabble.com/Tomcat-6-catalina.sh-does-not-remove-tomcat.pid-tp22255263p22255263.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


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


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

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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 "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Marilyn Daum [mailto:mdaum@fireapps.com]
> Subject: Tomcat 6 catalina.sh does not remove tomcat.pid
>
> I compared the catalina.sh scripts, and noticed that the
> Tomcat 6 version does contain the
> "rm -f $CATALINA_BASE/tomcat.pid" command.

Did you leave the word "not" out of the above sentence?  It doesn't seem to make sense otherwise.

Note that none of the Tomcat releases I have on hand at the moment (5.5.23, 5.5.26, 6.0.16, 6.0.18) contain such an rm command in any of their scripts; I suspect you added it to your 5.5 at some point in the past, or you're running a 3rd-party repackaged version of 5.5.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments from all computers.

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