mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2513 - JMX bug - javax.management.InstanceNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
72b73f06cd
commit
4969866569
|
@ -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