Failed to start Apache ActiveMQ (amq, null)

Solution Unverified - Updated -

Issue

In my env, the AMQ was setup as master and slave. I found below error in the log, pls tell the reason.

2019-01-05 05:40:04,747 | ERROR | AMQ-1-thread-1   | BrokerService                    | he.activemq.broker.BrokerService  616 | 162 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630283 | Failed to start Apache ActiveMQ (amq, null)
java.io.IOException: attempt to obtain lock aborted due to shutdown
        at org.apache.activemq.store.SharedFileLocker.doStart(SharedFileLocker.java:89)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.broker.LockableServiceSupport.preStart(LockableServiceSupport.java:94)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:54)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:663)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:647)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:612)[162:org.apache.activemq.activemq-osgi:5.11.0.redhat-630283]
        at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.doStart(ActiveMQServiceFactory.java:549)[176:io.fabric8.mq.mq-fabric:1.2.0.redhat-630283]
        at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$400(ActiveMQServiceFactory.java:359)[176:io.fabric8.mq.mq-fabric:1.2.0.redhat-630283]
        at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$1.run(ActiveMQServiceFactory.java:490)[176:io.fabric8.mq.mq-fabric:1.2.0.redhat-630283]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_75]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_75]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_75]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_75]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]

Environment

  • Red Hat AMQ 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content