Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D35D0108DB for ; Fri, 14 Mar 2014 21:56:53 +0000 (UTC) Received: (qmail 2909 invoked by uid 500); 14 Mar 2014 21:56:50 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 2658 invoked by uid 500); 14 Mar 2014 21:56:47 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 2545 invoked by uid 99); 14 Mar 2014 21:56:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 21:56:46 +0000 Date: Fri, 14 Mar 2014 21:56:46 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5103) LeaseDatabaseLocker is allowing two master brokers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)