You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/03/03 17:48:00 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=17294697#comment-17294697 ] 

Matt Pavlovich commented on AMQ-5098:
-------------------------------------

This issue is most likely resolved in updated releases of ActiveMQ and is marked for close in 30 days due to age and inactivity.

Please retest against 5.16.1 (or newer) and report back if this is still an issue.

> 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
>    Affects Versions: 5.9.0
>         Environment: MacBook Pro  ActiveMQ-5.10-SNAPSHOT
>            Reporter: Arthur Naseef
>            Assignee: Arthur Naseef
>            Priority: Minor
>              Labels: close-pending
>         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
(v8.3.4#803005)