You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edouard Dalla-Costa <ed...@gmail.com> on 2005/04/04 17:04:39 UTC
Kill running thread before tomcat stop
Hello,
I am using tomcat 5.0.30 which is working well. However I encountered
a problem when I want to stop it. When I stop Tomcat, it calls the
destroy method which is supposed to kill all my running threads but it
goes to fast. So I was wondering if there was a proper way to make
tomcat waiting until all my threads are down??
Thanx by advance
Edouard
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Kill running thread before tomcat stop
Posted by Lionel Farbos <li...@free.fr>.
On Mon, 4 Apr 2005 17:04:39 +0200
Edouard Dalla-Costa <ed...@gmail.com> wrote:
> Hello,
>
> I am using tomcat 5.0.30 which is working well. However I encountered
> a problem when I want to stop it. When I stop Tomcat, it calls the
> destroy method which is supposed to kill all my running threads but it
> goes to fast. So I was wondering if there was a proper way to make
> tomcat waiting until all my threads are down??
>
No there is no proper way to do this with Tomcat.
You have to hack your code.
More details here :
http://issues.apache.org/bugzilla/show_bug.cgi?id=33589
http://issues.apache.org/bugzilla/show_bug.cgi?id=33967
Regards
> Thanx by advance
>
> Edouard
>
> ---------------------------------------------------------------------
> 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