2011/7/14 Christopher Schultz <ch...@christopherschultz.net>:
> Is there any interest in having a configuration option for WCL that
> allows certain thread names to be ignored during webapp shutdown?
>
> See http://markmail.org/message/vqeeyosbqxq3tim6 for a short discussion.
>
> It appears that there may sometimes be a race condition where the webapp
> can't force the termination of an app-started thread that *will*
> eventually shut down.

When webapp is stopped, its classloader is stopped as well.  Allowing
a thread to run will allow application to hit this absence of
classloader.

If application is well behaving by itself (and it is up to you to
define what is well behaving) you can turn off this cleanup.

What matters is whether there are leaks in the end or not. If there
are none, just turn off this cleanup. It was not intended to be a
panacea but just some crutches until webapps learn how to take care of
the problem by themselves.

I think there is no need for this option that you are suggesting.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to