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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top