Hi.
I try to cluster two instances of servicemix. Each of them is run
independly. I set network connector to each other. In each brokerName is
the same.
One of them writes in logs that:
INFO - org.apache.activemq.store.DefaultPersistenceAdapterFactory -
Journal is locked... waiting 10 seconds for the journal to be unlocked.
After that I can not close that instance, I have to kill it.
What does it mean?
This a piece of $SMX/conf/activemq.xml:
First one:
<beans xmlns:amq="http://activemq.org/config/1.0">
<amq:broker id="broker" brokerName="broker" depends-on="jmxServer"
useShutdownHook="false">
<amq:transportConnectors>
<amq:transportConnector uri="tcp://localhost:61617"/> <!--
discoveryUri="multicast://default"/-->
</amq:transportConnectors>
<amq:networkConnectors>
<amq:networkConnector uri="static://(tcp://localhost:61616)"/>
</amq:networkConnectors>
<!-- the rest of config -->
</beans>
Second one:
<beans xmlns:amq="http://activemq.org/config/1.0">
<amq:broker id="broker" brokerName="broker" depends-on="jmxServer"
useShutdownHook="false">
<amq:transportConnectors>
<amq:transportConnector uri="tcp://localhost:61616"/> <!--
discoveryUri="multicast://default"/-->
</amq:transportConnectors>
<amq:networkConnectors>
<amq:networkConnector uri="static://(tcp://localhost:61617)"/>
</amq:networkConnectors>
<!-- the rest of config -->
</beans>
Thanks in advance.
Grzesiek