Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2382

Clustered broker throws "java.lang.IllegalStateException: Cannot find binding for [Queue]" for auto-deleted queues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • +
    • ARTEMIS-1592
    • Verified in a release
    • Hide

      Using a shared-nothing HA cluster of 3 live-backup pairs:

      • Publish 1 message to live1:
        $ ./artemis producer --verbose --user wsouser --password wsouserpass --destination queue://TEST.BUG.QUEUE --message-count 1 --url tcp://amq.lab.com:61616
      • Consume 1 message from live2 and close the consumer:
        $ ./artemis consumer --verbose --user wsouser --password wsouserpass --destination queue://TEST.BUG.QUEUE --message-count 1 --url tcp://amq.lab.com:61816
      • Observations:
        Live 1 and live3 logs spit the "AMQ224037: cluster connection Failed to handle message: java.lang.IllegalStateException: Cannot find binding for TEST.BUG.QUEUE169ab6f1-d21e-11e8-80f9-0800278debe5"
      Show
      Using a shared-nothing HA cluster of 3 live-backup pairs: Publish 1 message to live1: $ ./artemis producer --verbose --user wsouser --password wsouserpass --destination queue://TEST.BUG.QUEUE --message-count 1 --url tcp://amq.lab.com:61616 Consume 1 message from live2 and close the consumer: $ ./artemis consumer --verbose --user wsouser --password wsouserpass --destination queue://TEST.BUG.QUEUE --message-count 1 --url tcp://amq.lab.com:61816 Observations: Live 1 and live3 logs spit the "AMQ224037: cluster connection Failed to handle message: java.lang.IllegalStateException: Cannot find binding for TEST.BUG.QUEUE169ab6f1-d21e-11e8-80f9-0800278debe5"

      Same as upstream issue ARTEMIS-1592, appears to be a logging issue and no loss of functionality.

      2019-03-25 15:50:49,403 ERROR [org.apache.activemq.artemis.core.server] AMQ224037: cluster connection Failed to handle message: java.lang.IllegalStateException: Cannot find binding for FOO
      	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doConsumerClosed(ClusterConnectionImpl.java:1364) [artemis-server-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.handleNotificationMessage(ClusterConnectionImpl.java:1045) [artemis-server-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:1015) [artemis-server-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1011) [artemis-core-client-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:50) [artemis-core-client-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1134) [artemis-core-client-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66) [artemis-commons-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_181]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_181]
      	at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.6.3.redhat-00013.jar:2.6.3.redhat-00013]
      

            rh-ee-ataylor Andy Taylor
            rhn-support-shiggs Stephen Higgs
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: