My Oracle Support Banner

Glassfish Server Getting Stale and Closed JDBC Connections with JDBC Connection Validation Enabled (Doc ID 1279829.1)

Last updated on FEBRUARY 01, 2024

Applies to:

Oracle GlassFish Server - Version 2.0 and later
Information in this document applies to any platform.

Symptoms

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.

Changes

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.

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.