On Thu, 29 Nov 2001, Mika Goeckel wrote:
| Hi,
|
| on a unix system, you could do something like
|
| if ps -efwww | grep "org.apache.catalina.startup.Bootstrap" | grep -vc
| "grep" >/dev/null;
| then echo "yes";
| else echo "no";
| fi
|
| the second grep is because grep might find it's own comman
line otherwise.
hope that helps.
Cheers, Mika
- Original Message -
From: "Endre Stølsvik" <[EMAIL PROTECTED]>
To: "Tomcat developer list" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 6:53 PM
Subject: [TC4] How to know when tomcat is properly shut down?
&g
PROTECTED]>
To: Tomcat developer list <[EMAIL PROTECTED]>
Subject: [TC4] How to know when tomcat is properly shut down? (fwd)
Since nobody answered on tomcat-user, I'll just forward this one here
(since I think it actually belongs here in the first place..)
-- Forwarded message
ist <[EMAIL PROTECTED]>
To: Tomcat user list <[EMAIL PROTECTED]>
Subject: [TC4] How to know when tomcat is properly shut down?
The catalina.sh and related scripts all start the Bootstrap.java class and
asks it to shut down Catalina.
This script, if successful in connecting to the sh