You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Pon Umapathy K.S." <um...@cisco.com> on 2003/12/04 14:26:56 UTC

InheritableThreadLocal issues

Hi,
 A query regarding InheritableThreadLocal variables in the tomcat/struts
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/struts 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.The struts version 1.0.

 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
advance.

Regards,
Umapathy


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org