My Oracle Support Banner

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

Last updated on OCTOBER 27, 2020

Applies to:

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


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.


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

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