mirror of https://github.com/apache/activemq.git
ACTIVEMQ-2085 only create JMXConnectorServer if AMQ has created the mbean server
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9dec1b18ba
commit
eee37fbdb4
|
@ -288,10 +288,6 @@ public class ManagementContext implements Service {
|
|||
if (result == null && createMBeanServer) {
|
||||
result = createMBeanServer();
|
||||
}
|
||||
|
||||
if (result != null && createConnector) {
|
||||
createConnector(result);
|
||||
}
|
||||
} catch (NoClassDefFoundError e) {
|
||||
LOG.error("Could not load MBeanServer", e);
|
||||
} catch (Throwable e) {
|
||||
|
|
Loading…
Reference in New Issue