I have a problem disconnecting Tomcat. The requests coming in from the servlet container are closed, it seems to be delayed by the connector until the container shutdown.
The problem is that our servlet can take up to a minute to close, which means connections arriving during this period are held for a minute.
Right / Expected Behavior?
Not ideal Tomcat disconnect behavior should be
- allow existing queries (as already done), but
- reject new connections (instead of accepting and holding them)?
java tomcat servlets tomcat7 shutdown
woezelmann
source share