activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Naseef (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-5098) ActiveMQ fails to start complaining lock is already held for the JVM
Date Thu, 13 Mar 2014 12:29:47 GMT

     [ https://issues.apache.org/jira/browse/AMQ-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arthur Naseef updated AMQ-5098:
-------------------------------

    Attachment: STACK_DIFFS.txt

Attaching STACK_DIFFS.txt which contains a unified diff of the two stack traces.

Notice that the second stack trace only adds calls in the middle of the first - in other words,
there's a redundant path to the lock call.  Most of the stack is in Spring Context and XBean
startup code.

> 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
>
>
> 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)

Mime
View raw message