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 command line otherwise.
|
| hope that helps.

Hmm.. no, not really, but thanks for replying! :)

This is the obvious hack, but the underlying problem isn't solved. I
would like the Bootstrap class itself not to return until Tomcat has said
that it's properly down, basically that is is going to do System.exit() as
it's next instruction!

The same is true when going up. I'd like to know (maybe with a switch with
a timeout) when the system "is up", and that means when all the webapps
have started and so on.

Endre.

-- 
Mvh,
Endre


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to