activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: File not found exception when setup share file system master/slave
Date Fri, 28 May 2010 08:59:22 GMT
Access denied sounds like a permissions issue, can you ls that directory as
the user that is running the slave?
>From an ActiveMQ perspective is is just trying to open that file using java
file I/O

On 28 May 2010 04:19, viola.lu <viola.lu@gmail.com> wrote:

>
> Can somebody help it out?
>
> viola.lu wrote:
> >
> > 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-tp28689955p28702346.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message