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 7157310728 for ; Thu, 13 Mar 2014 13:01:58 +0000 (UTC) Received: (qmail 33213 invoked by uid 500); 13 Mar 2014 13:01:47 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 33010 invoked by uid 500); 13 Mar 2014 13:01:45 -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 32999 invoked by uid 99); 13 Mar 2014 13:01:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 13:01:45 +0000 Date: Thu, 13 Mar 2014 13:01:44 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-5098) ActiveMQ fails to start complaining lock is already held for the JVM 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-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933208#comment-13933208 ] Gary Tully commented on AMQ-5098: --------------------------------- the default ./bin/activemq start script uses this mechanism, guess the xml config must be a little different if this is not showing up. It may be the start=false attribute is the difference. But it may also be that some spring or xbean dep change makes this visible. > ActiveMQ fails to start complaining lock is already held for the JVM > -------------------------------------------------------------------- > > Key: AMQ-5098 > URL: https://issues.apache.org/jira/browse/AMQ-5098 > Project: ActiveMQ > Issue Type: Bug > Environment: MacBook Pro ActiveMQ-5.10-SNAPSHOT > Reporter: Arthur Naseef > Assignee: Arthur Naseef > Priority: Critical > Fix For: 5.10.0 > > Attachments: STACK_DIFFS.txt, activemq.log > > > Getting the following error sometimes on my MAC: > {quote} > 2014-03-13 05:15:55,146 | INFO | Database /Users/art/work/activemq/apache-activemq-5.10-SNAPSHOT/data/kahadb/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.IOException: File '/Users/art/work/activemq/apache-activemq-5.10-SNAPSHOT/data/kahadb/lock' could not be locked as lock is already held for this jvm. | org.apache.activemq.store.SharedFileLocker | main > {quote} > I have stack traces from the two attempts to grab the lock and will attach them. -- This message was sent by Atlassian JIRA (v6.2#6252)