Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to start AMQ broker with persistent store on an NFSv3 share
    primarykey
    data
    text
    <p>I've been struggling to start AMQ broker node with persistent store on an NFSv3 share. I keep getting the below error complaining of unavailable locks. I've made sure that all java processes are killed and the lock file on the shared folder is deleted before starting the AMQ master broker.</p> <p>When I start AMQ, it seems to create a lock file on the shared folder and after that it complains of unavailable locks.</p> <pre><code>Loading message broker from: xbean:activemq.xml INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@73cf56e9: startup date [Mon Dec 23 05:28:23 UTC 2013]; root of context hierarchy INFO | PListStore:[/home/pnarayan/apache-activemq-5.9.0/activemq-data/notificationsBroker/tmp_storage] started INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[/home/y/share/nfs/amqnfs] INFO | JMX consoles can connect to service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi INFO | Database /home/y/share/nfs/amqnfs/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.IOException: No locks available </code></pre> <p>Below is the activemq xml configuration file I'm using:</p> <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"&gt; &lt;broker xmlns="http://activemq.apache.org/schema/core" xmlns:spring="http://www.springframework.org/schema/beans" brokerName="notificationsBroker" useJmx="true" start="true" persistent="true" useShutdownHook="false" deleteAllMessagesOnStartup="false"&gt; &lt;persistenceAdapter&gt; &lt;kahaDB directory="/home/y/share/nfs/amqnfs" /&gt; &lt;/persistenceAdapter&gt; &lt;transportConnectors&gt; &lt;transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;amp;wireFormat.maxFrameSize=104857600"/&gt; &lt;transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;amp;wireFormat.maxFrameSize=104857600"/&gt; &lt;/transportConnectors&gt; &lt;/broker&gt; &lt;/beans&gt; </code></pre> <p>Is this because of the reason that I'm using NFSv3, but not NFSv4 as recommended by AMQ?</p> <p>I believe the issue with NFSv3 is that it cannot cleanup the lock if at all the broker process dies abruptly. However it shouldn't be having any issues in starting the broker. If my understanding is right why am I observing the above error?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload