mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 23:45:59 +00:00
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();
|
addShutdownHook();
|
||||||
getBroker().start();
|
getBroker().start();
|
||||||
if (isUseJmx()) {
|
if (isUseJmx()) {
|
||||||
if (!getManagementContext().isConnectorStarted()) {
|
if (getManagementContext().isCreateConnector() && !getManagementContext().isConnectorStarted()) {
|
||||||
// try to restart management context
|
// try to restart management context
|
||||||
// typical for slaves that use the same ports as master
|
// typical for slaves that use the same ports as master
|
||||||
managementContext.stop();
|
managementContext.stop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user