Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B140E1187F for ; Mon, 13 May 2013 21:50:19 +0000 (UTC) Received: (qmail 70968 invoked by uid 500); 13 May 2013 21:50:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 70930 invoked by uid 500); 13 May 2013 21:50:19 -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 70921 invoked by uid 99); 13 May 2013 21:50:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 21:50:19 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of balachandar.b@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 21:50:13 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Uc0cK-0000Kf-Q0 for users@activemq.apache.org; Mon, 13 May 2013 14:49:12 -0700 Date: Mon, 13 May 2013 14:49:07 -0700 (PDT) From: bala_82 To: users@activemq.apache.org Message-ID: <1368481747783-4666988.post@n4.nabble.com> Subject: Active mq 5.7 slave broker does not get the lock when the master is brought down MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using activemq 5.7 running on Linux with JDK 1.6 for setting up a shared file system master slave broker. There are two activemq nodes which access a NFSV4 shared file system for storage. Initially , i can start one of the nodes as the master and it gets the Kahadb lock. After this, i start the other mq broker and it waits in loop to get the lock from the master. When the master is brought down , the slave does not get the lock and the following error is thrown. /data/kahadb/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.FileNotFoundException: /data/kahadb/lock (Permission denied) | org.apache.activemq.store.SharedFileLocker | main Please let me know , how this issue can be resolved. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-mq-5-7-slave-broker-does-not-get-the-lock-when-the-master-is-brought-down-tp4666988.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.