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.
How to reject all HTTP connections until a Tomcat webapp is fully started
-
02-09-2022 - |
题
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.
解决方案
不隶属于 StackOverflow