-
Bug
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.1
-
None
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.