activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Gearhart <e...@nixwizard.net>
Subject Re: Windows clustered CIFS server as shared filesystem for ActiveMQ
Date Tue, 21 Jul 2009 16:57:06 GMT
On Mon, Jul 20, 2009 at 11:46 AM, Rob Davies<rajdavies@gmail.com> 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 java.io.IOException: Permission denied

Note the "java.io.IOException: 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
http://activemq.apache.org/shared-file-system-master-slave.html

Thanks for any help or insight anyone can provide...

Eric

Mime
View raw message