[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: How does one get notified of webapp shutdown in the webapp to do clean up?
From:       "Dev Team" <tomcatdev () vidyah ! com>
Date:       2004-05-28 19:05:10
Message-ID: FLUXjCRGryWtIIZS2TR00000003 () flux ! vidyah ! com
[Download RAW message or body]

Thanks Tim, can't believe I didn't see that.

-Rick

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org] 
Posted At: Friday, May 28, 2004 11:57 AM
Posted To: Tomcat Dev
Conversation: How does one get notified of webapp shutdown in the webapp to
do clean up?
Subject: Re: How does one get notified of webapp shutdown in the webapp to
do clean up?

See ServletContextListener

-Tim

Dev Team wrote:
> Hello,
> 
>   I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a
shutdown
> Tomcat can't shutdown completely because OpenJMS server is still running
in
> its own thread ( I presume ).   If I use the OpenJMS management classes
and
> tell the server to shutdown, then tell Tomcat to shutdown, everything is
> fine.     So the question is..   is their some kind of web-app.finallize()
> where I can register a listener or something to do some clean up right
> before it stops the web-app? 

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




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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic