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.
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.