activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javadev <spamolo...@gmail.com>
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:persistenceAdapter>
<!--            <amq:amqPersistenceAdapter directory="activemq-data"
maxFileLength="32mb"/>-->
            <amq:kahaPersistenceAdapter directory="activemq-data"
maxDataFileLength="512mb"/>
        </amq:persistenceAdapter>
        <amq:transportConnectors>
            <amq:transportConnector uri="tcp://localhost:61616" />
        </amq:transportConnectors>
    </amq:broker>

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
org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter
createTransactionStore
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: http://activemq.2283324.n4.nabble.com/ActiveMQ-can-not-lock-store-tp2541723p2541723.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message