From eee37fbdb426e1499dac242eb5b40a4b00629fec Mon Sep 17 00:00:00 2001 From: David Jencks Date: Tue, 27 Jan 2009 00:55:33 +0000 Subject: [PATCH] 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 --- .../org/apache/activemq/broker/jmx/ManagementContext.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java b/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java index bb30571e1b..5bcacd17a5 100644 --- a/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java @@ -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) {