Hi! I am posting this into the dev list as I am not familiar with the right place for a DBCP issue in Tomcat's Bugzilla structure.
I am seeking Rémy attention, as he is currently maintaining Tomcat 9. Could you please review this DBCP2 issue? I think Tomcat 9 has an issue with closing the abandoned connections (if configured) since Tomcat 9.0.42: "Update the internal fork of Apache Commons DBCP to 2.9.0 (2021-08-03). Improvements, code clean-up and refactoring. (markt)" https://issues.apache.org/jira/browse/DBCP-599 The cool thing about this issue is that other Tomcat versions are also affected, as I understand. Thank you! Anton.