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

[ER3] Broker in fabric stops after modification of network properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBoss A-MQ 6.2.1
    • JBoss A-MQ 6.2.1
    • None
    • Hide

      1.

      fabric:create

      2.

      container-create-child root broker-container

      3.

      mq-create --assign-container broker-container broker

      4. wait for provision of broker-container and check if broker is running
      5.

      profile-edit --pid io.fabric8.mq.fabric.server-broker/network.consumerTTL=1 mq-broker-mesh.broker

      After few seconds broker is stopped

      Show
      1. fabric:create 2. container-create-child root broker-container 3. mq-create --assign-container broker-container broker 4. wait for provision of broker-container and check if broker is running 5. profile-edit --pid io.fabric8.mq.fabric.server-broker/network.consumerTTL=1 mq-broker-mesh.broker After few seconds broker is stopped

      2015-09-17 17:53:30,247 | ERROR | ZooKeeperGroup-0 | ZooKeeperGroup                   | 82 - io.fabric8.fabric-groups - 1.2.0.redhat-621032 |
      java.lang.RuntimeException: Task java.util.concurrent.FutureTask@30ca7a46 rejected from java.util.concurrent.ThreadPoolExecutor@4b0e8a6d[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 3]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:712)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:402)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:398)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[73:com.google.guava:17.0.0]
      	at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.callListeners(ZooKeeperGroup.java:396)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.EventOperation.invoke(EventOperation.java:34)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.mainLoop(ZooKeeperGroup.java:510)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.access$200(ZooKeeperGroup.java:65)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$4.run(ZooKeeperGroup.java:156)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
      Caused by: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@30ca7a46 rejected from java.util.concurrent.ThreadPoolExecutor@4b0e8a6d[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 3]
      	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)[:1.8.0_60]
      	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)[:1.8.0_60]
      	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)[:1.8.0_60]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)[:1.8.0_60]
      	at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:678)[:1.8.0_60]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.start(ActiveMQServiceFactory.java:444)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$1200(ActiveMQServiceFactory.java:318)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:688)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	... 13 more
      2015-09-17 17:53:30,249 | INFO  | ZooKeeperGroup-0 | ActiveMQServiceFactory           | 108 - io.fabric8.mq.mq-fabric - 1.2.0.redhat-621032 | Reconnected to the group
      2015-09-17 17:53:30,249 | ERROR | ZooKeeperGroup-0 | ZooKeeperGroup                   | 82 - io.fabric8.fabric-groups - 1.2.0.redhat-621032 |
      java.lang.RuntimeException
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:712)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:402)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:398)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[73:com.google.guava:17.0.0]
      	at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.callListeners(ZooKeeperGroup.java:396)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.EventOperation.invoke(EventOperation.java:34)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.mainLoop(ZooKeeperGroup.java:510)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.access$200(ZooKeeperGroup.java:65)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$4.run(ZooKeeperGroup.java:156)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
      Caused by: java.lang.NullPointerException
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.registerConnectors(ActiveMQServiceFactory.java:553)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$1500(ActiveMQServiceFactory.java:318)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:696)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	... 13 more
      2015-09-17 17:53:30,249 | INFO  | ZooKeeperGroup-0 | ActiveMQServiceFactory           | 108 - io.fabric8.mq.mq-fabric - 1.2.0.redhat-621032 | Reconnected to the group
      2015-09-17 17:53:30,249 | ERROR | ZooKeeperGroup-0 | ZooKeeperGroup                   | 82 - io.fabric8.fabric-groups - 1.2.0.redhat-621032 |
      java.lang.RuntimeException
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:712)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:402)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$6.apply(ZooKeeperGroup.java:398)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[73:com.google.guava:17.0.0]
      	at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)[88:io.fabric8.fabric-zookeeper:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.callListeners(ZooKeeperGroup.java:396)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.EventOperation.invoke(EventOperation.java:34)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.mainLoop(ZooKeeperGroup.java:510)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup.access$200(ZooKeeperGroup.java:65)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at io.fabric8.groups.internal.ZooKeeperGroup$4.run(ZooKeeperGroup.java:156)[82:io.fabric8.fabric-groups:1.2.0.redhat-621032]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
      Caused by: java.lang.NullPointerException
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.registerConnectors(ActiveMQServiceFactory.java:553)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$1500(ActiveMQServiceFactory.java:318)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$4.groupEvent(ActiveMQServiceFactory.java:696)[108:io.fabric8.mq.mq-fabric:1.2.0.redhat-621032]
      	... 13 more
      

      Manual restart of broker container is required. This is regression from ER1

      Not 100% reproducible, reproduced just on the openstack machines.

      Example machine to test: 10.8.48.191
      user: fuse
      password: fuse

              gtully@redhat.com Gary Tully
              mmelko@redhat.com Matej Melko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: