Shared Filesystem Master Slave not working
------------------------------------------
Key: AMQ-1507
URL: https://issues.apache.org/activemq/browse/AMQ-1507
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.0.0
Environment: Windows XP
ActiveMQ SNAPSHOT 5.0-20071120.092745-1
Reporter: Peter Mortier
Fix For: 5.0.0
I'm testing out Shared Filesystem Master Slave on a 5.0 snapshot
(5.0-20071120.092745-1).
However it does not seem to be working.
I start two brokers with different ports but same shared data directory on a
Windows host.
First broker starts up nicely, second broker does not sit in a loop, trying to
grab the lock every 10 seconds , but stops right away with the following trace:
29-nov-2007 10:33:21 org.apache.activemq.broker.BrokerService getBroker
INFO: For help or more information please see: http://activemq.apache.org/
29-nov-2007 10:33:21 org.apache.activemq.store.amq.AMQPersistenceAdapter start
INFO: AMQStore starting using directory: activemq-data\EDA
java.io.IOException: Control file 'activemq-data\EDA\journal\data-control'
could not be locked.
at
org.apache.activemq.kaha.impl.async.ControlFile.lock(ControlFile.java:77)
at
org.apache.activemq.kaha.impl.async.AsyncDataManager.start(AsyncDataManager.java:116)
at
org.apache.activemq.store.amq.AMQPersistenceAdapter.start(AMQPersistenceAdapter.java:172)
at
org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:1448)
at
org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:1400)
at
org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:513)
at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:187)
at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:177)
at be.amaris.eda.EDAManager.startBroker(EDAManager.java:38)
at be.amaris.eda.EDAManager.main(EDAManager.java:17)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.