[A-MQ, restartAllowed, SharedFileLocker ] Database XXX/lock could not be locked as lock is already held for this jvm.
Issue
- after the master broker restarts (when broker configuration has restartAllowed="true") the following statement is seen in the logs
2015-10-23 20:37:28,608 | DEBUG | pool-13-thread-1 | SharedFileLocker | .activemq.store.SharedFileLocker 69 | 121 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-611442 | Database XXXX/kahadb/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.IOException: File 'XXXX/kahadb/lock' could not be locked as lock is already held for this jvm.
Environment
- JBoss A-MQ 6.2 GA
- JBoss A-MQ 6.1 R2 P6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.