Re: how to know if tomcat is completely started

2010-02-11 Thread Ken Bowen
Using a Tomcat Lifecycle listener (.../catalina/Lifecycle.html) sounds like exactly what you want. This from http://www.atomikos.com/Documentation/Tomcat55Integration33 illustrates illustrates the use: public class AtomikosLifecycleListener implements LifecycleListener { private static L

Re: how to know if tomcat is completely started

2010-02-11 Thread Peter Crowther
In that case, you want a LifecycleListener (http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/LifecycleListener.html) looking for the AFTER_START event. You can then write code in the listener to do something unambiguous when the event triggers - I'd write a file somewhere, but I'm o

Re: how to know if tomcat is completely started

2010-02-11 Thread Jan Van Besien
Pid wrote: On 11/02/2010 11:15, Jan Van Besien wrote: 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

Re: how to know if tomcat is completely started

2010-02-11 Thread Pid
On 11/02/2010 11:15, Jan Van Besien wrote: 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

how to know if tomcat is completely started

2010-02-11 Thread Jan Van Besien
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 deploye