tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Chen" <>
Subject ask about the HTTP response timeout parameter.
Date Mon, 14 Dec 2009 08:36:21 GMT
Hi, all


I use Tomcat 5.5.26 as web server, and use Hibernate3.1 Beta 1 to
connect Database MySQL5.0. The connection pool is c3p0- Tomcat
and Database are deployed on different hosts.

During the running the Tomcat, the database is restarted. And meanwhile
there are lots of HTTP requests to Tomcat.


I start an IE Browser to send HTTP request to the Tomcat, and I find
that the Tomcat need very long time( often more than 10 minutes) to send
a HTTP response to IE Browser.


I don't know the reason. Could someone tell me, thanks.



And I want to solve the problem by setting the HTTP response timeout

Usually, if the Tomcat and DB are OK, the HTTP request can be responded
in less than 30 seconds. So, I want to set the HTTP response timeout to
be 30 seconds. 

In this way, if the DB is restarted, the Tomcat can response an error,
so I needn't to wait 10 minutes( that's too long).


But I don't know how to configure this parameter, if someone know,
please tell me, thanks a lot.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message