On 12/10/10 3:41 PM, Caldarale, Charles R wrote:
>> From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] 
>> Subject: Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)
> 
>> as part of the thread local cleanup process at the time of undeploy,
>> tomcat removes few threadLocals but misses the threadLocals for the
>> thread in question. I am wondering about the tomcat thread still being
>> in "WAIT" mode and been cleaned up.
> 
> The WAIT mode is normal - the thread is sitting in the pool, waiting for a 
> request to show up. 
Does it mean that the thread is actually released to serve next request?
As in thread is recycled for reuse? What happens to data that was
referenced during the previous cycle?

 I believe the ThreadLocal objects are discarded by letting such
infected threads exit and creating new ones.

I was thinking on the same lines. As I have mentioned earlier, I see few
messages in catalina log to the effect that threadLocals are forcibly
removed.

I was initially embarked on finding out Axis related threads that are
leaking by checking threads in destroy method of application but, could
not catch the thread in question.

That's an area still undergoing refinement, so you might want to try
moving up to 6.0.29 and see if it makes any difference.

Ok. Will try that.

Thanks

Srikanth
  Or try sending in enough concurrent requests to get all the threads
busy and see if the references disappear after that.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

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

Reply via email to