tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Nanjangude <karthik.nanjang...@xius-bcgi.com>
Subject RE: Specific Thread of an web Application
Date Tue, 03 Aug 2010 12:11:39 GMT
Hi

I know that this particular application has some bad code built by a 3rd party.

>> Potentially long running requests need to be coded to support being
interrupted.

How this can be achieved from some tool like Jconsole ....



With regards
karthik



-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: Tuesday, August 03, 2010 5:32 PM
To: Tomcat Users List
Subject: Re: Specific Thread of an web Application

On 03/08/2010 12:43, Karthik Nanjangude wrote:
> Hi
>
> Can this specific thread be killed by expiration of session from Sessions Administration
of manage screen

No. Generally, killing threads isn't safe and is asking for a JVM crash.
Potentially long running requests need to be coded to support being
interrupted.

Mark

>
>
> with regards
> Karthik
>
>
>
>
> -----Original Message-----
> From: Pid [mailto:pid@pidster.com]
> Sent: Tuesday, August 03, 2010 4:42 PM
> To: Tomcat Users List
> Subject: Re: Specific Thread of an web Application
>
> On 03/08/2010 12:06, Karthik Nanjangude wrote:
>> Hi
>>
>> O/s  : Redhat
>> JDK : 1.5
>> WebCont : Tomcat 6.0.20
>>
>> Typical Problem:  How to kill a Specific Thread of an web Application on Tomcat?
>>
>> Via Manually / JConsole
>
> Call Thread.interrupt() or with much more risk Thread.stop(), or is this
> not what you mean?
>
>
> p
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>




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


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


Mime
View raw message