connection Timeout

2009-11-12 Thread vichi
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. please need an urgent help Thanks in advance. -Vichi -- View this message in context: http://old.nabble.com/connection-Timeout-tp26315070p26315070

Connection Timeout

2009-11-12 Thread vichi
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(5) code in it. i want that if a user send a request and

Re: Connection Timeout

2009-11-12 Thread vichi
a thread) which is processing the request for response will get free and will be available to accept new request. does closing a connection will free http thread? thanks, -vichi Martin Choma wrote: Here are some timeout settings http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html

setServerSoTimeout(int ) and setSoTimeout(int ) functionality

2009-11-12 Thread vichi
server. please need our immediate help. Thanks, -vichi -- View this message in context: http://old.nabble.com/setServerSoTimeout%28int-%29-and-setSoTimeout%28int-%29-functionality-tp26322108p26322108.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: setServerSoTimeout(int ) and setSoTimeout(int ) functionality

2009-11-12 Thread vichi
Hey Mark, many many thanks for your crystal clear clarification for setSoTimeout(int ). is same concept applies for setServerSoTimeout(int ) or it there for some other purpose. thanks, -Vichi Mark Thomas wrote: vichi wrote: 1) can any one elaborate me the functionality of methods