activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <>
Subject Re: Windows clustered CIFS server as shared filesystem for ActiveMQ
Date Tue, 21 Jul 2009 17:14:31 GMT
Don't use journaledJDBC - just JDBC - or KahaDB - or the default  

On 21 Jul 2009, at 17:57, Eric Gearhart wrote:

> On Mon, Jul 20, 2009 at 11:46 AM, Rob Davies<>  
> wrote:
>> Hi Eric,
>> I'm not aware of anyone who has done this - but if flock() is  
>> supported it
>> should work - if its going to fail - it will fail quickly (within a  
>> few
>> minutes).
>> Please let us know if it works!
> OK to follow up on this, I've got two ActiveMQ brokers setup, I've got
> the CIFS share mounted on both and I verified I can write files to the
> share on both boxes (just by doing 'mkdir test' 'rmdir test' etc), so
> both boxes can write to the share (not a permissions issue...)
> Here's the error I'm getting when I start up the SECOND broker:
> Loading message broker from: xbean:activemq.xml
> ERROR: java.lang.RuntimeException: Failed to execute start task.
> Reason: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'org.apache.activemq.xbean.XBeanBrok
> erService' defined in class path resource [activemq.xml]: Cannot
> create inner bean '(inner bean)' while setting bean property
> 'persistenceAdapter'; nested exception is org.springframework.beans.fa
> ctory.BeanCreationException: Error creating bean with name '(inner
> bean)#2': FactoryBean threw exception on object creation; nested
> exception is Permission denied
> Note the " Permission denied" errors.... is this
> an indicator that I've done something wrong in activemq.xml, or that
> flock() isn't working properly with the Windows CIFS share, or what?
> Here's my persistence adapter config from activemq.xml
>    <persistenceAdapter>
>      <journaledJDBC dataDirectory="/local/betaactivemq"/>
>    </persistenceAdapter>
> This config was based on
> Thanks for any help or insight anyone can provide...
> Eric

Rob Davies
I work here:
My Blog:
I'm writing this:

View raw message