Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-607

AMQ Resource adapter us hung while graceful Jboss shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.0
    • None
    • None
    • Hide

      If there are messages to be consumed by the MDB which is using A-MQ RAR, we see that graceful shutdown does not help. Server can only be killed using "kill -9".

      Show
      If there are messages to be consumed by the MDB which is using A-MQ RAR, we see that graceful shutdown does not help. Server can only be killed using "kill -9".

    Description

      • JBoss A-MQ resource adapter is configured in JBoss EAP 6 to communcate with remote JBoss A-MQ server. During greaceful shutdown we see that JBoss EAP server hangs. In the thread dumps we could see that one of AMQ RAR threads is stuck with following stack:
      "ServerService Thread Pool -- 102" prio=10 tid=0x00007fbc28167800 nid=0x7ed0 in Object.wait() [0x00007fbc682f6000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <0x0000000707694a38> (a java.util.concurrent.atomic.AtomicBoolean)
      	at org.apache.activemq.ra.ServerSessionPoolImpl.close(ServerSessionPoolImpl.java:275)
      	- locked <0x0000000707694a38> (a java.util.concurrent.atomic.AtomicBoolean)
      	at org.apache.activemq.ra.ActiveMQEndpointWorker.stop(ActiveMQEndpointWorker.java:287)
      	- locked <0x00000007071d9548> (a java.lang.String)
      	at org.apache.activemq.ra.ActiveMQResourceAdapter.endpointDeactivation(ActiveMQResourceAdapter.java:216)
      	at org.jboss.jca.core.rar.EndpointImpl.deactivate(EndpointImpl.java:235)
      
      • I see that jira AMQ-5038 [1] is filed for the same, however it is fixed in ActiveMQ 5.10.

      [1] https://issues.apache.org/jira/browse/AMQ-5038

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rbhardwa_jira Ravi Bhardwaj (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: