Hello,

I have an AMQ failover setup where multiple servers share the same shared
system. One is always active while the others wait for the current active to
release the lock file.

The issue here is that instead of saving the lock file under the defined
directory it creates the file in either the current directory where the
start command was launched or under /.

      <broker xmlns="http://activemq.apache.org/schema/core"; 
        brokerName="activemq3" 
        dataDirectory="/usr/local/apache-activemq/KahaDB"
        persistent="true" 
        schedulerSupport="true"
        networkConnectorStartAsync="true"
        useJmx="true">

        <persistenceAdapter>
                <kahaDB 
                  directory="/usr/local/apache-activemq/KahaDB"
                  checksumJournalFiles="true"
                  checkForCorruptJournalFiles="true"
                  ignoreMissingJournalfiles="false"
                  useLock="true"
                  databaseLockedWaitDelay="3000"/>
        </persistenceAdapter>


 Am I overlooking something?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/lock-file-gets-created-on-a-wrong-path-tp4711172.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to