activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5746) Slave broker not registering JMX mBean when scheduler is enabled
Date Mon, 27 Apr 2015 14:55:40 GMT
Gary Tully created AMQ-5746:
-------------------------------

             Summary: Slave broker not registering JMX mBean when scheduler is enabled
                 Key: AMQ-5746
                 URL: https://issues.apache.org/jira/browse/AMQ-5746
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, Job Scheduler
    Affects Versions: 5.11.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.12.0


{code}
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}"
schedulerSupport="true">
{code}

The slave broker does not register it's mBean information vis JMX.  From looking at the log
of the slave broker the following can be seen:

{code}
INFO | Database /scheduler/lock is locked... waiting 10 seconds for the database to be unlocked.
Reason: java.io.IOException: File '/scheduler/lock' could not be locked.
{code}

In this case it appears the broker is stuck trying to lock the scheduler lock file before
the mBean can be registered.

Without the scheduler enable, the mBean is registered in JMX and log shows the broker is just
waiting to lock the kahadb lock file:

{code}
INFO | Database kahadb/lock is locked... waiting 5 seconds for the database to be unlocked.
Reason: java.io.IOException: File 'kahadb/lock' could not be locked.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message