tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pon Umapathy K.S." <>
Subject Tomcat's ThreadPool and InheritableThreadLocal variables
Date Thu, 04 Dec 2003 12:09:02 GMT
 A query regarding InheritableThreadLocal variables in the tomcat context.

To explain the problem i am facing:
 If i am correct,for each request,tomcat uses a thread from it's threadpool
to process the request.
 Suppose during one of these requests,i set the value of a
InheritableThreadLocal variable.Once this request is processed,the thread
will be available for use from the ThreadPool.Does tomcat reset the value of
the InheritableThreadLocal variable which was set by the previous request
processing?(it should,ideally). The tomcat version i am using is 3.3.1a.Also
use the struts framework model.

 It seems to me that the InheritableThreadLocal value which was set by a
previous request on a thread is still retained when that thread is reused
for processing another request.Are there any known issues regarding this?
 Would be really helpful if someone can answer this.A bit urgent.Thanks in


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message