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 <e...@sustainlane.com> 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 <anupk...@gmail.com> > To: users@tomcat.apache.org > 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: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >