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:
David Jencks 2009-01-27 00:55:33 +00:00
parent 9dec1b18ba
commit eee37fbdb4
1 changed files with 0 additions and 4 deletions

View File

@ -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) {