tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: Casual proposal for change to WebappClassLoader.clearReferencesThreads
Date Thu, 14 Jul 2011 15:11:11 GMT
On 14/07/2011 15:23, Christopher Schultz wrote:
> All,
> Is there any interest in having a configuration option for WCL that
> allows certain thread names to be ignored during webapp shutdown?
> See 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. A minor change could alleviate printing a warning
> message on redeploy that may worry admins.
> I'm sure this would be useful to Terence, but I'm not sure if there's
> wide applicability.

Why does this help?  AFAICS he's not stopped the thread, he's just
stopped the scheduler.  If he wants the thread to stop he'll have to hit
.cancel() on the task.


> Any thoughts?
> -chris

View raw message