We have two AMQ brokers configured in Master/Slave topology with Database persistence. We are using lease-database-locker in jdbcPersistenceAdabter. So when Master broker is stopped , the Slave takes over successfully. But the problem is when the Slave Broker is stopped, the Master Broker for some reason stop and shutdown.
I am attaching the activemq.xml (which is exactly same for both Master and Slave borkers) and the amq.log for both Master and Slave.
The broker names are different.
One brokername is: amq,
another brokername is: amqnode2.
The strange thing is that after changing the first brokername to: amqnode1, the issue resolved.
So there must be some wrong code here.