Hi All,
I want to use master/slave.I have configured them but here i am having two
issues.
1) Suppose Master is down and slave acts as a master at that time it
delievers duplicate messages.
How can i make slave to dispatch those messages which are not dispatched
by master
before getting down?
[ how can i make slave to deliever those messages which are not
delievered by master]
2) In Master activemq console i get following error:
java.lang.AssertionError: Unsupported Method
at
org.apache.activemq.transport.TransportSupport.request(TransportSupport.java:71)
at
org.apache.activemq.transport.TransportFilter.request(TransportFilter.java:88)
at
org.apache.activemq.transport.TransportFilter.request(TransportFilter.java:88)
at
org.apache.activemq.transport.MutexTransport.request(MutexTransport.java:49)
at
org.apache.activemq.broker.ft.MasterBroker.sendSyncToSlave(MasterBroker.java:363)
at
org.apache.activemq.broker.ft.MasterBroker.sendToSlave(MasterBroker.java:345)
at
org.apache.activemq.broker.ft.MasterBroker.acknowledge(MasterBroker.java:320)
at
org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:8
at
org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.
at org.apache.activemq.command.MessageAck.visit(MessageAck.java:179)
at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:284)
at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:1
at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.jav
at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
at java.lang.Thread.run(Thread.java:595)
ERROR MasterBroker - Slave Failed
Can anybody please tell me how can i overcome from these two issues.
Thanx a lot in advance.
Regards,
Manish
--
View this message in context:
http://www.nabble.com/Getting-Duplicate-messages-from-slave-when-master-is-down-tp18005761p18005761.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.