JDBC Connections Used By EJB Project Remain Open For Long Time In Oracle GlassFish Server (Doc ID 1507611.1)

Last updated on FEBRUARY 10, 2017

Applies to:

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

Symptoms

EJB projects are developed using MDBs.  The MDBs use JDBC connection pool on Oracle GlassFish Server to insert data into an Oracle database. After JMS-consuming MDBs finish inserting all messages into database and complete all processing, the Oracle database connections remain open for much longer than specified in the JDBC connection pool settings. Eventually, the connections do drop, but in one case all connections did not disappear until over twenty minutes after the completion of processing.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms