-
Bug
-
Resolution: Done
-
Major
-
6.0.0.GA
-
4
-
False
-
None
-
False
-
-
-
Moderate
The issue manifests in our StopContextTimeoutTest running under Windows. In this tests we stop a container while it is receiving tens of thousands of parallel requests. So the process of stopping/removing takes a very long time, and sometimes the test framework's start.stop.timeout kicks in and deletes the contexts while the server is stopping.
Tomcat HostConfig.checkResources sleeps for 500ms in a synchronized method if a resource is not found. This sleep delays the stop of the container and can cause the errors seen in our StopContextTimeoutTest and reported previously in MODCLUSTER-782.
After some discussion with rhn-engineering-jclere he opened PR-641 that is still not merged either in the tomcat-10 or in the tomcat-9 branches.
- is cloned by
-
JWS-3100 Race condition in stop under stress: Context checks block Container stop
- Closed
- is incorporated by
-
JWS-3240 Upgrade mod_cluster to 2.0.4.Final
- Closed
- relates to
-
MODCLUSTER-782 Problems when undeploying under stress
- Resolved