Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

How can you limit the max life-time for a servlet using filters?

tom ly

2004-05-11


Once in a while we're getting out of thread errors with Tomcat. We have a requirement timeout of 5 seconds. Is there a way to use Filters (or whichever any other method) so that we can limit the time that a thread/servlet stays alive.

   
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
©2008 junlu.com - Jax Systems, LLC, U.S.A.