[
https://issues.apache.org/jira/browse/AMQ-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935717#comment-13935717
]
Gary Tully commented on AMQ-5103:
---------------------------------
can you provide some logs from both master and slave. Also, do master and slave
have different broker names? If not you need to provide a leaseid to the locker.
> LeaseDatabaseLocker is allowing two master brokers
> --------------------------------------------------
>
> Key: AMQ-5103
> URL: https://issues.apache.org/jira/browse/AMQ-5103
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.8.0
> Environment: Linux, JBoss 7.X
> Reporter: abes
>
> LeaseDatabaseLocker is allowing a slave to become broker while the initial
> master broker is still alive, after several hours of running the correct
> slave-master model.
> [INFO ][20140314 02:12:43,280][][activemq.store.jdbc.LeaseDatabaseLocker]
> localhost Lease held by localhost till Fri Mar 14 02:12:52 WET 2014
> [INFO ][20140314 02:12:43,280][][activemq.store.jdbc.LeaseDatabaseLocker]
> localhost failed to acquire lease. Sleeping for 10000 milli(s) before trying
> again...
> [INFO ][20140314 02:12:53,295][][activemq.store.jdbc.LeaseDatabaseLocker]
> localhost, becoming the master on dataSource:
> org.jboss.jca.adapters.jdbc.WrapperDataSource@455916d2
--
This message was sent by Atlassian JIRA
(v6.2#6252)