You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/08/24 20:00:44 UTC

[Bug 64083] JDBC pool keeps closed connection as available

https://bz.apache.org/bugzilla/show_bug.cgi?id=64083

--- Comment #1 from ToolGuy1 <ge...@snapon.com> ---
We have faced this issue in our shop as well with MS SQL Server on version
9.2.x driver for Java 11. Wondering if a configurable option could be added to
the code to allow exceptions thrown from clearWarnings() calls to cause the
pool to discard connections during return to the pool. Seems like if the
underlying DB vendor supports clearWarnings commands that hit the db server (
suspect most do ), that this failing with an Exception should be a decent
indicator that the underlying connection is not in good health.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org