You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jim Barrows <jb...@sssc.com> on 2004/08/11 17:44:57 UTC

RE: stopping threads when sever stops


> -----Original Message-----
> From: Jignesh Patel [mailto:jpatel@bangtechnology.com]
> Sent: Wednesday, August 11, 2004 4:05 PM
> To: Struts Users Mailing List
> Subject: stopping threads when sever stops
> 
> 
> Hi Rick,
> 
> We are developing our software using struts and quartz with tomcat.
> When we stop our web server it never stops the back end 
> running threads.
> 
> We tried by developing separate listener but we never able to shutdown
> our application properly.
> 
> any suggestion will be helpful on this.

Servlet Context listener, listen on the context destroyed method and nuke your threads.

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