JBoss Shutdown hangs stopping the EJBContainer
Issue
- Our JBoss fails to fully shutdown and the shutdown hook thread comes to a hang like so stopping the EJBContainer:
"JBoss Shutdown Hook" J9VMThread:0x0000000127C98D00, j9thread_t:0x0000000127B67080, java/lang/Thread:0x0700000000A35910, state:P, prio=5
(native thread ID:0x5F80F3, native priority:0x5, native policy:UNKNOWN)
Java callstack:
at sun/misc/Unsafe.park(Native Method)
at java/util/concurrent/locks/LockSupport.park(LockSupport.java:184(Compiled Code))
at java/util/concurrent/locks/AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:822)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:980)
at java/util/concurrent/locks/AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1292(Compiled Code))
at java/util/concurrent/Semaphore.acquire(Semaphore.java:452)
at org/jboss/ejb3/EJBContainer.blockInvocations(EJBContainer.java:1779)
at org/jboss/ejb3/EJBContainer.stop(EJBContainer.java:1056)
Environment
- JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
