JBoss shutdown stalls in JmsServerSessionPool.teardownSessions

Solution Verified - Updated -

Issue

  • JBoss fails to shutdown completely. Thread dumps show the JBoss Shutdown Hook thread stalled like so in JmsServerSessionPool.teardownSessions:

    "JBoss Shutdown Hook" daemon prio=6 tid=0x000000001d07f800 nid=0x20e0 in Object.wait() [0x000000003d3aa000]
       java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000690321a10> (a java.util.ArrayList)
        at java.lang.Object.wait(Object.java:485)
        at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.teardownSessions(JmsServerSessionPool.java:256)
        - locked <0x0000000690321a10> (a java.util.ArrayList)
        at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.stop(JmsServerSessionPool.java:98)
        at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardownSessionPool(JmsActivation.java:687)
        at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardown(JmsActivation.java:375)
        at org.jboss.resource.adapter.jms.inflow.JmsActivation.stop(JmsActivation.java:255)
        at org.jboss.resource.adapter.jms.JmsResourceAdapter.endpointDeactivation(JmsResourceAdapter.java:79)
        at org.jboss.resource.deployers.RARDeployment.endpointDeactivation(RARDeployment.java:346)
    

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.