Glassfish Server Getting Stale and Closed JDBC Connections with JDBC Connection Validation Enabled
(Doc ID 1279829.1)
Last updated on MARCH 16, 2021
Applies to:Oracle GlassFish Server - Version 2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Aug-2013***
When an application requests a JDBC connection from the connection pool, the connection returned may not be usable and throws the following exceptions:
This problem occurs even if the pool is configured with a valid connection validation method.
This problem can occur when the connection pool is configured to use the "associate-with-thread" option, and the back end database is restarted, even when the pool is configured with an effective database connection validation method.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document