Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 41066200CC6 for ; Tue, 18 Jul 2017 12:09:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3F7E61669DF; Tue, 18 Jul 2017 10:09:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85F1C1669D7 for ; Tue, 18 Jul 2017 12:09:17 +0200 (CEST) Received: (qmail 10405 invoked by uid 500); 18 Jul 2017 10:09:16 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 10394 invoked by uid 99); 18 Jul 2017 10:09:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2017 10:09:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 11339C01E3 for ; Tue, 18 Jul 2017 10:09:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ZUuekkitBKrs for ; Tue, 18 Jul 2017 10:09:08 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6D27C5FBBB for ; Tue, 18 Jul 2017 10:09:07 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id BEC2E53E773AE for ; Tue, 18 Jul 2017 03:09:06 -0700 (MST) Date: Tue, 18 Jul 2017 02:49:30 -0700 (PDT) From: akpuvvada To: users@activemq.apache.org Message-ID: <1500371370771-4728622.post@n4.nabble.com> In-Reply-To: References: <1500029587075-4728550.post@n4.nabble.com> <1500081039174-4728567.post@n4.nabble.com> Subject: Re: Active MQ - Master/Slave Config Not working MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 18 Jul 2017 10:09:18 -0000 Hi Tim, I can see logs indicating that lock is identified, please see below. 2017-07-14 03:18:14,428 | INFO | Database /tibco_installables/ActiveMQ/DataStore/kahadb/lock is locked by another server. This broker is now in slave mode waiting a lock to be acquired | org.apache.activemq.store.SharedFileLocker | main So, this is not a file system issues. My issue is: - When I first bring up the servers, M1 first and M2 seconds. M1 is taking up as Primary and M2 as Secondary. - I am using M1:port,M2:port failover URL. - It is working fine However, the issue is coming up when the Primary is stopped, the same above failover URL is not working. If I change the URL to M2:port,M1:port, it is working. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-tp4728550p4728622.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.