Hi all,
I'm using tomcat-6.0.18 with java-1.6.0-18 on ubuntu-9.10.
We are using the tanuki service wrapper to run tomcat as a linux
service, more or less as described in [1].
We also have a monitoring mechanism which checks the "health" of the
running tomcat with all the applications deployed into it by making
certain well choosen http requests that test some core functionality of
our applications. If some of this fails, a system is in place to have
another redundant server (with another tomcat) take over.
Now the problem is that we only want the monitoring mechanism to start
monitoring after tomcat is completely started (successful or not). So I
would like to know what my options are to "ask" a running tomcat if it
has more startup/deployment work to do, or if it is finished.
The log files contain things like "INFO: Server startup in 39188 ms", so
clearly tomcat knows this information. I could ofcourse parse the log
files, but I would prefer a more robust mechanism. Maybe a java API, or
JMX or something like that?
Thanks in advance,
Jan Van Besien
[1]
http://wrapper.tanukisoftware.org/doc/english/integrate-start-stop-nix.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org