#319 Throwing RuntimeException will kill servlet worker thread

open
cjq
5
2010-02-05
2010-02-05
cjq
No

When using AJP(although probably any) with tomcat 6.0.20 I have found that the Servlet wraps every exception in a runtimeexception and throws it. This kills the worker thread and the connection never finishes, also the existing sessions are never invalidated on timeout.
As a workaround I catch these exceptions in my delegate servlet.

Discussion


Log in to post a comment.