Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Assessing Tomcat's State

Francisco J. Bido

2003-06-07

Replies:

Is there any way to assess Tomcat's state via an environment variable?
For example, I would like to poll an environment variable to see if
Tomcat is:

1. starting up
2. running
3. shutting down
4. stopped

There're a bunch of other states out there but the above fulfill my
immediate needs.

Parsing through the catalina.out log file is the only way I know how to
do this but this is approach is way too clumsy and ugly.

Thanks!
-FB


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.