mirror of https://github.com/apache/activemq.git
merging 888323 - https://issues.apache.org/activemq/browse/AMQ-2513 - JMX bug - javax.management.InstanceNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-5.3@888329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
65c1d93201
commit
4993f82727
|
@ -457,7 +457,7 @@ public class BrokerService implements Service {
|
|||
addShutdownHook();
|
||||
getBroker().start();
|
||||
if (isUseJmx()) {
|
||||
if (!getManagementContext().isConnectorStarted()) {
|
||||
if (getManagementContext().isCreateConnector() && !getManagementContext().isConnectorStarted()) {
|
||||
// try to restart management context
|
||||
// typical for slaves that use the same ports as master
|
||||
managementContext.stop();
|
||||
|
|
Loading…
Reference in New Issue