Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-17 Thread Pid
On 15/12/2010 15:37, Srikanth Konjarla wrote: On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of undeploy of app. The message suggests

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-17 Thread Srikanth Konjarla
On 12/17/10 3:01 AM, Pid wrote: On 15/12/2010 15:37, Srikanth Konjarla wrote: On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-17 Thread Pid
On 17/12/2010 15:38, Srikanth Konjarla wrote: On 12/17/10 3:01 AM, Pid wrote: On 15/12/2010 15:37, Srikanth Konjarla wrote: On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-15 Thread Pid
On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of undeploy of app. The message suggests that it is removing the same threadlocal twice. Is it because it was not removed in

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-15 Thread Srikanth Konjarla
On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of undeploy of app. The message suggests that it is removing the same threadlocal twice.

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-14 Thread Srikanth Konjarla
: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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-13 Thread Pid
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-13 Thread Pid
On 13/12/2010 12:23, Pid wrote: On 12/12/2010 18:18, Srikanth Konjarla wrote: On 12/12/10 8:28 AM, Pid * wrote: On 11 Dec 2010, at 21:39, Srikanth Konjarla srikanth.konja...@gmail.com wrote: On Dec 11, 2010, at 1:04 PM, Pid * p...@pidster.com wrote: On 11 Dec 2010, at 20:02, Srikanth

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-12 Thread Pid *
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-12 Thread Srikanth Konjarla
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid *
: 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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Srikanth Konjarla
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid
: 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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Srikanth Konjarla
can see of it's the same problem. Will do. Srikanth p Srikanth 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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid *
of it's the same problem. Will do. Srikanth p Srikanth 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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Sylvain Laurent
Some short answers : - (for the moment) threads are always reused, even after an application is stopped. - tomcat 6.0.26 tries to clean the threadlocals which may provoke a leak, but 1) it was unsafe and has been disabled by default from 6.0.27 (see

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Srikanth Konjarla
locals. Please post the warnings from your logs so I can see of it's the same problem. Will do. Srikanth p Srikanth 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

6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
All, I have a webservice client in the webapp. When the webapp is undeployed the classloader has not been GC'ed. Upon investigation it is found that a thread is in WAIT state which has references to the webapp class loader. I see the following from heap dump. http-8080-2 at

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) Essentially, the thread has threadLocals object that has few references. And who put the ThreadLocal there? (Hint: it wasn't Tomcat; your webapp - or a library

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
thread still being in WAIT mode and been cleaned up. Srikanth On 12/10/10 2:36 PM, Caldarale, Charles R wrote: From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) Essentially, the thread has threadLocals object

RE: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Caldarale, Charles R
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Pid *
using here. p Srikanth On 12/10/10 2:36 PM, Caldarale, Charles R wrote: From: Srikanth Konjarla [mailto:srikanth.konja...@gmail.com] Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) Essentially, the thread has threadLocals object that has few references. And who put

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
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

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
...@gmail.com] Subject: 6.0.26 java.lang.Thread.State: WAITING (on object monitor) Essentially, the thread has threadLocals object that has few references. And who put the ThreadLocal there? (Hint: it wasn't Tomcat; your webapp - or a library it's using - is behaving badly, and not cleaning

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Srikanth Konjarla
BTW, I see some similarities with the following. https://jira.springframework.org/browse/SWS-533 Srikanth 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