- Original Message -
> From: Anup K Ram
> To: Tomcat Users List
> Sent: Thu, 22 Oct 2009 20:58:37 -0700 (PDT)
> Subject: Re: How to know when tomcat is ready to serve request
>
> My problem here is I want to wake up the thread after the server is
> complete
y the container interfaces (which you
should implement as empty methods).
E
- Original Message -
From: Anup K Ram
To: Tomcat Users List
Sent: Thu, 22 Oct 2009 20:58:37 -0700 (PDT)
Subject: Re: How to know when tomcat is ready to serve request
My problem here is I want to wake up the t
ifecycle of objects.
>
> E
>
>
> - Original Message -
> From: "Anup K Ram"
> To: "Tomcat Users List"
> Sent: Thursday, October 22, 2009 9:38:01 AM (GMT-0800) America/Los_Angeles
> Subject: Re: How to know when tomcat is ready to serve request
>
> T
tual lifecycle of objects.
E
- Original Message -
From: "Anup K Ram"
To: "Tomcat Users List"
Sent: Thursday, October 22, 2009 9:38:01 AM (GMT-0800) America/Los_Angeles
Subject: Re: How to know when tomcat is ready to serve request
The code is in a thread thats in turn
- Original Message -
From: David kerber
To: Tomcat Users List
Sent: Thu Oct 22 12:31:34 2009
Subject: Re: How to know when tomcat is ready to serve request
Anup K Ram wrote:
> Its inside the war file.
Take a look at the contextInitialized event of the
ServletContextListe
- Original Message -
From: David kerber
To: Tomcat Users List
Sent: Thu Oct 22 12:31:34 2009
Subject: Re: How to know when tomcat is ready to serve request
Anup K Ram wrote:
> Its inside the war file.
Take a look at the contextInitialized event of the
ServletContextListe
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 wrote:
> Where does the code that needs to know that reside? How is it initialized?
> Is it inside tomcat (war file, valve, JN
Anup K Ram wrote:
Its inside the war file.
Take a look at the contextInitialized event of the
ServletContextListener interface:
package myPackage;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servle
Its inside the war file.
On Wed, Oct 21, 2009 at 11:53 PM, Elli Albek 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
> From: Anup K Ram
> To: users@tomcat.apache.org
> Sent: 22/10/09, 00:56:50
> 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.
Use a LifecycleLis
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
To: users@tomcat.apache.org
Sent: Wed, 21 Oct 2009 16:56:50 -0700 (PDT)
Subject: How to know
11 matches
Mail list logo