tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Need advice to notify StandardExecutor when a webapp is stopped
Date Fri, 30 Apr 2010 17:29:51 GMT
> From: Sylvain Laurent [mailto:sylvain.laurent@gmail.com] On Behalf Of
> Sylvain Laurent
> Subject: Re: Need advice to notify StandardExecutor when a webapp is
> stopped
> 
> Interesting idea, really ! But I suspect it might break some things in
> some cases. I'm thinking about cross-context requests (where the
> requestDispatcher calls another web application in the same JVM with
> the same thread).

Yes, any context switching by the same thread would require it to call the methods that save
and restore the ThreadLocal values as part of the transition to the new context.

 - Chuck


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


Mime
View raw message