Here are some timeout settings http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html.
Can I ask, what brings you to such requirements. I consider it for little bit unusual. So what is your case originally? If you tell us, maybe another solution could be take. Martin 2009/11/12 vichi <vichi...@gmail.com>: > > i want to close a connection if i don't get response back in specific time > (let say in 30 sec) . is there any setting in tomcat for this purpose. > > Test case: " I deployed a servlet in my stand alone tomcat. that servlet has > thread.sleep(50000) code in it. i want that if a user send a request and he > doesnt get response back in 3 sec then tomcat close the connection which was > opened for that request and so user doesnt get any response. since my > servlet has thread.sleep(50000) code in it so to genrate a response will > take at least 5sec. in sort if response time is more than 3 second the > tomcat should close connection and user should not get any response > back"......is there any setting or facility provided by tomcat if not how > can i do it. > > i am using tomcat:-5.5.23 , OS:- Windos XP, Connector:- non-SSL HTTP/1.1 > Connector > > please need an urgent help > -- > View this message in context: > http://old.nabble.com/Connection-Timeout-tp26315289p26315289.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org