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

Unable to apply patch to container with slave broker waiting to obtain lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2.1, BugQueue
    • JBoss A-MQ 6.1
    • broker
    • None
    • Hide

      Apply patch to the container with the master broker, failover the environment, apply the patch to next container which becomes the master broker.

      Show
      Apply patch to the container with the master broker, failover the environment, apply the patch to next container which becomes the master broker.
    • Hide

      1) Configured JBoss Fuse/JBoss A-MQ in a share file system master/slave
      2) Apply the JBoss Fuse R2 patch to the slave container

      Show
      1) Configured JBoss Fuse/JBoss A-MQ in a share file system master/slave 2) Apply the JBoss Fuse R2 patch to the slave container

      Unable to successfully apply a patch to a container which has a broker waiting to obtain a lock. Once the patch is applied the container the mq-fabric bundle appears to be stuck in the following state:| [ 141] [Stopping ] [ ] [ ] [ 60] JBoss A-MQ Fabric (6.1.0.redhat-379)|

      A thread reveals the following:| "Thread-56" daemon prio=5 tid=0x00007ff3c0e97000 nid=0x8a07 waiting on condition [0x0000000113bd4000]|

      java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)
      - parking to wait for <0x00000007e2339860> (a java.util.concurrent.FutureTask)
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
      at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:425)
      at java.util.concurrent.FutureTask.get(FutureTask.java:187)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.waitForStop(ActiveMQServiceFactory.scala:502)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.close(ActiveMQServiceFactory.scala:348)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$deleted$1.apply(ActiveMQServiceFactory.scala:553)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$deleted$1.apply(ActiveMQServiceFactory.scala:553)
      at scala.Option.foreach(Option.scala:197)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory.deleted(ActiveMQServiceFactory.scala:553)
      - locked <0x00000007e1746070> (a org.fusesource.mq.fabric.ActiveMQServiceFactory)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$destroy$1.apply(ActiveMQServiceFactory.scala:618)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anonfun$destroy$1.apply(ActiveMQServiceFactory.scala:618)
      at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
      at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
      at org.fusesource.mq.fabric.ActiveMQServiceFactory.destroy(ActiveMQServiceFactory.scala:618)
      - locked <0x00000007e1746070> (a org.fusesource.mq.fabric.ActiveMQServiceFactory)
      at org.fusesource.mq.fabric.Activator.stop(Activator.scala:40)
      at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
      at org.apache.felix.framework.Felix.stopBundle(Felix.java:2777)
      at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:991)
      at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:978)
      at org.fusesource.patch.impl.ServiceImpl.applyChanges(ServiceImpl.java:472)
      at org.fusesource.patch.impl.ServiceImpl.access$000(ServiceImpl.java:75)
      at org.fusesource.patch.impl.ServiceImpl$1.run(ServiceImpl.java:440)

      The container remains in this state and the patch is never fully applied.

        1. ENTMQ-1107.diff
          1 kB
        2. dump.txt
          31 kB

              gtully@redhat.com Gary Tully
              rhn-support-jsherman Jason Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: