activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "viola.lu" <viola...@gmail.com>
Subject File not found exception when setup share file system master/slave
Date Thu, 27 May 2010 06:17:01 GMT

Hi, i tried to setup share file system master/slave on activemq 5.3.2 , my
activemq.xml  is updated as below:

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="share"
useJmx="false" deleteAllMessagesOnStartup="true"
dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true">
....
<persistenceAdapter>
            <!--<kahaDB directory="${activemq.base}/data/kahadb"/>-->
            <kahaDB directory="//9.186.10.68/share"/>
        </persistenceAdapter>


//9.186.10.68/share is samba share opened on a suse 10.2 system with
anonymous access.

but when i start up activemq, there is an error:
Database \\9.186.10.68\share\lock is locked... waiting 10 seconds for the
database to be unlocked. Reason: java.io.FileNotFoundException:
\\9.186.10.68\share\lock (Access is denied)

Can somebody help figure out how to configure share file system? i just
followed this article
http://activemq.apache.org/shared-file-system-master-slave.html, my shared
directory is setup wrong?
THanks a lot!
-- 
View this message in context: http://old.nabble.com/File-not-found-exception-when-setup-share-file-system-master-slave-tp28689955p28689955.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message