activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Blich <...@tomblich.com>
Subject Is there a trick to configuring Pure Master Slave?
Date Tue, 17 Aug 2010 05:31:43 GMT

I set it up as documented http://activemq.apache.org/pure-master-slave.html

the slave comes up fine

but each time something actually tries to connect to the master broker, I
get this error message:  

I only get these messages if I attach a slave into the mix.      I don't
need anything complicated like using a shared database, but I need to if I
can't get this working properly.


2010-08-16 12:41:37,265 | INFO  | Successfully connected to
tcp://localhost:61616 |
org.apache.activemq.transport.failover.FailoverTransport | ActiveMQ Failover
Worker: 685047701
2010-08-16 12:41:39,661 | INFO  | Camel Console at http://0.0.0.0:8161/camel
| org.mortbay.log | main
2010-08-16 12:41:39,828 | INFO  | ActiveMQ Web Demos at
http://0.0.0.0:8161/demo | org.mortbay.log | main
2010-08-16 12:41:39,971 | INFO  | RESTful file access application at
http://0.0.0.0:8161/fileserver | org.mortbay.log | main
2010-08-16 12:41:39,992 | INFO  | Started
SelectChannelConnector@0.0.0.0:8161 | org.mortbay.log | main
2010-08-16 12:41:49,558 | INFO  | Active Slave Broker localhost is attached
| org.apache.activemq.broker.TransportConnection | ActiveMQ Transport:
tcp:///192.168.163.110:36818
2010-08-16 12:42:08,716 | INFO  | Closing Spring root WebApplicationContext
| /camel | ActiveMQ ShutdownHook 
2010-08-16 12:42:09,544 | ERROR | Slave Failed |
org.apache.activemq.broker.ft.MasterBroker | ActiveMQ Transport:
tcp:///127.0.0.1:40336 java.lang.IllegalStateException: Cannot remove a
consumer from a session that had not been registered:
ID:vxqa07vm04.qa.avvenu.com-56650-1281987692308-2:0:1
        at
org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:553)
      
at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:76)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:300)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178) 
     
at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)       
at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:210)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)2010-08-16
12:42:09,551 | ERROR | Slave Failed |
org.apache.activemq.broker.ft.MasterBroker | ActiveMQ Transport:
tcp:///127.0.0.1:40336
java.lang.IllegalStateException: Cannot remove a consumer from a session
that had not been registered:
ID:vxqa07vm04.qa.avvenu.com-56650-1281987692308-2:0:-1
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
2010-08-16 12:42:09,555 | INFO  | Destroying Spring FrameworkServlet
'dispatcher' | /admin | ActiveMQ ShutdownHook
2010-08-16 12:42:09,568 | INFO  | ActiveMQ Message Broker (localhost,
ID:vxqa07vm04.qa.avvenu.com-56650-1281987692308-0:0) is shutting down |
org.apache.activemq.broker.BrokerService | ActiveMQ ShutdownHook
2010-08-16 12:42:11,542 | ERROR | Slave Failed |
org.apache.activemq.broker.ft.MasterBroker | ActiveMQ Task
java.lang.IllegalStateException: Cannot remove a consumer from a session
that had not been registered:
ID:vxqa07vm04.qa.avvenu.com-56834-1281890774503-0:0:-1
        at
org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:553)
        at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:76)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:300)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:210)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
2010-08-16 12:42:11,546 | ERROR | Slave Failed |
org.apache.activemq.broker.ft.MasterBroker | ActiveMQ Task
java.lang.IllegalStateException: Cannot remove a consumer from a session
that had not been registered:
ID:vxqa07vm04.qa.avvenu.com-56834-1281890774503-0:0:1
        at
org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:553)
        at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:76)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:300)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
        at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:210)
        at
org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)
        at
org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)



-- 
View this message in context: http://old.nabble.com/Is-there-a-trick-to-configuring-Pure-Master-Slave--tp29449220p29449220.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message