You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Arthur Naseef (JIRA)" <ji...@apache.org> on 2014/03/13 17:57:47 UTC
[jira] [Commented] (AMQ-5098) ActiveMQ fails and starts complaining
lock is already held for the JVM
[ https://issues.apache.org/jira/browse/AMQ-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933532#comment-13933532 ]
Arthur Naseef commented on AMQ-5098:
------------------------------------
Thanks Gary. Yes, this is with trunk. I have been seeing it for a little while, but always putting it off. This time, I decided to get it captured.
I'm thinking there is a race condition. I'll try start=false and see if that helps.
Any ideas on how I can see what Spring is up to without adding debugging to the Spring code? I tried increasing logging for spring to debug, but that didn't help.
> ActiveMQ fails and starts 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)