tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: ThreadPool misbehavin
Date Tue, 02 Sep 2003 13:49:40 GMT

Howdy,

>"SEVERE: Unexpected exception" message in the logs from ThreadPool:652.
>I like the comment at line 651 that says, "can never happen, .".  Does

Gotta love that ;)  

>anyone know why this exception would happen?  I know that my webapp
does
>make Thread.interupt() calls, but the tomcat threads should be
protected
>from those, right??  Any help would be much appreciated.

Are you doing Thread.inerrupt() or Thread.currentThread().interrupt() ?
I suspect that's the difference here.  There's no way tomcat threads can
be protected from the former.  You should use the latter in your
applications.  See if that makes the problem go away...

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message