ActiveMQ
  1. ActiveMQ
  2. AMQ-3373

Pure master/slave connection state error on the master machine.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      CentOS 5.6 - x86_64 - 2GB RAM

      Description

      I added this annoying exception thrown by the master ActiveMQ 5.5 when it's connected as pure master/slave. The slave doesn't complain at all and the failover is performed correctly.

      Thanks

      2011-06-15 23:18:47,368 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#1
      java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:1
      at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
      at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
      at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
      at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
      at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
      at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
      at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
      at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
      at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)
      2011-06-15 23:18:47,392 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#3
      java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:2
      at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
      at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
      at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
      at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
      at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
      at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
      at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
      at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
      at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
      at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)

        Activity

        Timothy Bish made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Jose Guerra made changes -
        Field Original Value New Value
        Description I added the exception thrown by the master ActiveMQ 5.5 when it's connected as pure master/slave. The slave doesn't complain at all and the failover is performed correctly.

        Thanks

        2011-06-15 23:18:47,368 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#1
        java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:1
                at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
                at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
                at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
                at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
                at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
                at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
                at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
                at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
                at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
                at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
                at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
                at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)
        2011-06-15 23:18:47,392 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#3
        java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:2
                at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
                at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
                at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
                at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
                at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
                at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
                at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
                at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
                at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
                at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
                at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
                at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)
        I added this annoying exception thrown by the master ActiveMQ 5.5 when it's connected as pure master/slave. The slave doesn't complain at all and the failover is performed correctly.

        Thanks

        2011-06-15 23:18:47,368 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#1
        java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:1
                at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
                at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
                at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
                at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
                at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
                at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
                at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
                at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
                at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
                at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
                at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
                at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)
        2011-06-15 23:18:47,392 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker | VMTransport: vm://localhost#3
        java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been registered: ID:ntcs-amq1-53476-1308056848065-2:2
                at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:67)
                at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1423)
                at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1337)
                at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:464)
                at org.apache.activemq.command.MessageAck.visit(MessageAck.java:229)
                at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
                at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
                at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
                at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
                at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
                at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:104)
                at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:42)
        Jose Guerra created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Jose Guerra
          • Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development