activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hoskins (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (AMQ-3373) Pure master/slave connection state error on the master machine.
Date Tue, 28 Jun 2011 09:42:17 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056416#comment-13056416
] 

Adam Hoskins edited comment on AMQ-3373 at 6/28/11 9:41 AM:
------------------------------------------------------------

Same issue here on 5.4.2 with Centos 5.5. Master log shows:

2011-06-28 07:15:00,870 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker
| ActiveMQ Transport: tcp:///10.0.200.100:58522
java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been
registered: ID:BLAH-01-53227-1308650729422-0:5
        at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:63)
        at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1402)
        at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1316)
        at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:468)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:214)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
        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:219)
        at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
        at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)

No corresponding events in the slave log and deferred messages are being received to the master
and propagating across to the slave. Failing over to slave works fine too.


      was (Author: adamaitch):
    Same issue here on 5.4.2 with Centos 5.5. Master log shows:

2011-06-28 07:15:00,870 | ERROR | Slave Failed | org.apache.activemq.broker.ft.MasterBroker
| ActiveMQ Transport: tcp:///10.0.200.100:58522
java.lang.IllegalStateException: Cannot lookup a consumer from a connection that had not been
registered: ID:EQX-PRE-GATE-01-53227-1308650729422-0:5
        at org.apache.activemq.broker.MapTransportConnectionStateRegister.lookupConnectionState(MapTransportConnectionStateRegister.java:63)
        at org.apache.activemq.broker.TransportConnection.lookupConnectionState(TransportConnection.java:1402)
        at org.apache.activemq.broker.TransportConnection.getConsumerBrokerExchange(TransportConnection.java:1316)
        at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:468)
        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:214)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
        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:219)
        at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
        at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)

No corresponding events in the slave log and deferred messages are being received to the master
and propagating across to the slave. Failing over to slave works fine too.

  
> Pure master/slave connection state error on the master machine. 
> ----------------------------------------------------------------
>
>                 Key: AMQ-3373
>                 URL: https://issues.apache.org/jira/browse/AMQ-3373
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: CentOS 5.6 - x86_64 - 2GB RAM
>            Reporter: Jose Guerra
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message