The code is in a thread thats in turn spawned from the contextInitilized method of a ServletContextListener.(Inside the war)
On Wed, Oct 21, 2009 at 11:53 PM, Elli Albek <[email protected]> wrote: > Where does the code that needs to know that reside? How is it initialized? > Is it inside tomcat (war file, valve, JNDI resource) or outside the tomcat > JVM? > > E > > ----- Original Message ----- > From: Anup K Ram <[email protected]> > To: [email protected] > Sent: Wed, 21 Oct 2009 16:56:50 -0700 (PDT) > Subject: How to know when tomcat is ready to serve request > > Hi, > Is there a way to know whether tomcat is started successfully and ready to > serve requests? I need to know this programmatically. > > Thanks In Advance. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
