GlassFish Instance Hangs During Shutdown Due to a Thread Executing a JDBC Statement

(Doc ID 1903926.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 11-Jul-2014***


GlassFish instance hangs during shutdown.  In the admin server's admin GUI the instance is not shown as running but cannot be started.  A Java thread dump reveals the thread performing the shutdown is blocked waiting to lock a JDBC connection:



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