Re: Terminating long running request threads

2011-06-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 6/12/2011 5:49 AM, Peter Roßbach wrote: > can we add the unique Thread Id, please? If you can find the java.lang.Thread object, can't you get it's unique id already? Maybe I'm misunderstanding your question. - -chris -BEGIN PGP SIGNATU

Re: Terminating long running request threads

2011-06-12 Thread Peter Roßbach
HI, can we add the unique Thread Id, please? Peter Am 11.06.2011 um 17:11 schrieb Rainer Jung: > On 11.06.2011 09:30, Afkham Azeez wrote: >> Folks, >> Is there any API to get hold of Tomcat's Connector thread pools? > > Each request is registered with an MBean in the MBeanServer. > As long as

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
gt; > -Original Message- > > From: Afkham Azeez [mailto:afk...@gmail.com] > > Sent: Samstag, 11. Juni 2011 19:23 > > To: Tomcat Users List > > Subject: Re: Terminating long running request threads > > > > Thanks Rainer. I think I can use the RequestProce

RE: Terminating long running request threads

2011-06-11 Thread spring
t Users List > Subject: Re: Terminating long running request threads > > Thanks Rainer. I think I can use the RequestProcessor MBeans. > > Thanks > Azeez > > On Sat, Jun 11, 2011 at 8:41 PM, Rainer Jung > wrote: > > > On 11.06.2011 09:30, Afkham Azeez wrote: &g

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Thanks Rainer. I think I can use the RequestProcessor MBeans. Thanks Azeez On Sat, Jun 11, 2011 at 8:41 PM, Rainer Jung wrote: > On 11.06.2011 09:30, Afkham Azeez wrote: > > Folks, > > Is there any API to get hold of Tomcat's Connector thread pools? > > Each request is registered with an MBean i

Re: Terminating long running request threads

2011-06-11 Thread Rainer Jung
On 11.06.2011 09:30, Afkham Azeez wrote: > Folks, > Is there any API to get hold of Tomcat's Connector thread pools? Each request is registered with an MBean in the MBeanServer. As long as the request is running, the MBean contains additional info, like the URI, when the request started, the threa

Re: Terminating long running request threads

2011-06-11 Thread Afkham Azeez
Folks, Is there any API to get hold of Tomcat's Connector thread pools? Regards Azeez On Thu, Jun 9, 2011 at 10:58 PM, Afkham Azeez wrote: > > > On Thu, Jun 9, 2011 at 10:51 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> > From: Afkham Azeez [mailto:afk...@gmail.com] >> >

Re: Terminating long running request threads

2011-06-09 Thread Afkham Azeez
On Thu, Jun 9, 2011 at 10:51 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Afkham Azeez [mailto:afk...@gmail.com] > > Subject: Terminating long running request threads > > > is there a way to get hold of these long running threads > > & terminate them? > > This is not an

RE: Terminating long running request threads

2011-06-09 Thread Caldarale, Charles R
> From: Afkham Azeez [mailto:afk...@gmail.com] > Subject: Terminating long running request threads > is there a way to get hold of these long running threads > & terminate them? This is not an issue specific to Tomcat; there is no way to safely terminate a Java thread without the cooperation of

Re: Terminating long running request threads

2011-06-09 Thread Afkham Azeez
For our requirement, it is even OK to detect to which webapp such a request is coming, and unload that webapp. On Thu, Jun 9, 2011 at 10:33 PM, Afkham Azeez wrote: > Hi folks, > We are using embedded Tomcat 7.0.14, and we have a requirement to somehow > terminate request threads that have been