How to reject all HTTP connections until a Tomcat webapp is fully started

701 views Asked by At

I want Tomcat to reject (and close) all HTTP connections, while apps are not started up completely. By default Tomcat make connections wait during an app startup.

1

There are 1 answers

0
mindas On BEST ANSWER

bindOnInit parameter on the connector might help (setting the value to false). See http://tomcat.apache.org/tomcat-7.0-doc/config/http.html for more details.