activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javadev <>
Subject ActiveMQ can not lock store.
Date Thu, 16 Sep 2010 08:11:21 GMT

i configure embedded ActiveMQ broker with:

<amq:broker id="broker" useJmx="true" persistent="true">
<!--            <amq:amqPersistenceAdapter directory="activemq-data"
            <amq:kahaPersistenceAdapter directory="activemq-data"
            <amq:transportConnector uri="tcp://localhost:61616" />

It is running as WAR on Tomcat 6.
ActiveMQ can not run, because it fails to lock. Same bug for amq and kahaDB.

16.09.2010 12:05:33 org.apache.activemq.kaha.impl.KahaStore initialize
INFO: Kaha Store using data directory activemq-data
16.09.2010 12:05:33
INFO: Store is locked... waiting 10 seconds for the Store to be unlocked.

Steps to reproduce:
Tomcat is stopped, no "activemq-data" directory.
put WAR into webapps, run Tomcat.
ActiveMQ creates "activemq-data" and fails to lock it.

I tried to delete "activemq-data" dir and restart Tomcat, then delete lock
file and restart Tomcat. Nothing help.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message