Oracle Glassfish Server 3.1.2 with External LDAP Throws Connection Closed Exception

(Doc ID 2233560.1)

Last updated on JANUARY 16, 2018

Applies to:

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


On  Oracle Glassfish Server 3.1.2 , an external LDAP connection is configured as an external JNDI resource and EJB deployed using defined resource.

Everything works fine, but after sometime of inactivity e.g-  approx. 30 minutes,the LDAP connection gets closed and Glassfish Server stops working

The below exception will be seen in the logs -





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