You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Jouravlev <jm...@gmail.com> on 2006/05/11 18:10:12 UTC

Re: Application started/stopped notification

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#init(javax.servlet.ServletConfig)
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#destroy()

On 5/11/06, Asaf Lahav <as...@primagrid.com> wrote:
>
>
>
>
>
> A web service application I have which is running under tomcat is required to perform an initialization process right after tomcat has loaded my webservice application.
>
> How can I get an invocation of some sort that would indicate the application is up and running?
>
>
>
> And also, I would like to get an invocation of some sort that would indicate that the tomcat is stopping (preferably) before tomcat started the shutdown sequence.
>
>
>
> Thanks in advance,
>
>
>
>
> Asaf Lahav
>
> VP R&D, Prima Grid LTD.
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Application started/stopped notification

Posted by Tim Lucia <ti...@yahoo.com>.
See also ServletContextListener as that will run on app start/stop
regardless of the servlet state.  And you don't need a servlet either.

Tim

-----Original Message-----
From: Michael Jouravlev [mailto:jmikus@gmail.com] 
Sent: Thursday, May 11, 2006 12:10 PM
To: Tomcat Users List
Subject: Re: Application started/stopped notification

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#ini
t(javax.servlet.ServletConfig)
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#des
troy()

On 5/11/06, Asaf Lahav <as...@primagrid.com> wrote:
>
>
>
>
>
> A web service application I have which is running under tomcat is required
to perform an initialization process right after tomcat has loaded my
webservice application.
>
> How can I get an invocation of some sort that would indicate the
application is up and running?
>
>
>
> And also, I would like to get an invocation of some sort that would
indicate that the tomcat is stopping (preferably) before tomcat started the
shutdown sequence.
>
>
>
> Thanks in advance,
>
>
>
>
> Asaf Lahav
>
> VP R&D, Prima Grid LTD.
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Application started/stopped notification

Posted by Asaf Lahav <as...@primagrid.com>.
Thanks Michael

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254

 

-----Original Message-----
From: Michael Jouravlev [mailto:jmikus@gmail.com] 
Sent: Thursday, May 11, 2006 6:10 PM
To: Tomcat Users List
Subject: Re: Application started/stopped notification

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#ini
t(javax.servlet.ServletConfig)
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Servlet.html#des
troy()

On 5/11/06, Asaf Lahav <as...@primagrid.com> wrote:
>
>
>
>
>
> A web service application I have which is running under tomcat is required
to perform an initialization process right after tomcat has loaded my
webservice application.
>
> How can I get an invocation of some sort that would indicate the
application is up and running?
>
>
>
> And also, I would like to get an invocation of some sort that would
indicate that the tomcat is stopping (preferably) before tomcat started the
shutdown sequence.
>
>
>
> Thanks in advance,
>
>
>
>
> Asaf Lahav
>
> VP R&D, Prima Grid LTD.
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org