[
https://issues.apache.org/jira/browse/AMQ-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934665#comment-13934665
]
Isaac Liao commented on AMQ-5098:
---------------------------------
I checked 5.9.0 source code and find the same two files.
activemq-parent-5.9.0-source-release\activemq-parent-5.9.0\activemq-web-console\src\main\webapp\WEB-INF\webconsole-embedded.xml
activemq-parent-5.9.0-source-release\activemq-parent-5.9.0\assembly\src\release\webapps\admin\WEB-INF\webconsole-embedded.xml
I'm not sure it's the root cause of my problem.
I setup network of brokers and test restart it one by one about one month ago,
only encounter few times.
Maybe I can review my test and check it again.
> 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: Minor
> 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)