activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r737951 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Date Tue, 27 Jan 2009 00:55:34 GMT
Author: djencks
Date: Tue Jan 27 00:55:33 2009
New Revision: 737951

URL: http://svn.apache.org/viewvc?rev=737951&view=rev
Log:
ACTIVEMQ-2085 only create JMXConnectorServer if AMQ has created the mbean server

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java?rev=737951&r1=737950&r2=737951&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Tue Jan 27 00:55:33 2009
@@ -288,10 +288,6 @@
             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) {



Mime
View raw message