tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Specific Thread of an web Application
Date Tue, 03 Aug 2010 12:02:05 GMT
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


Mime
View raw message