activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r384185 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
Date Wed, 08 Mar 2006 11:44:09 GMT
Author: jstrachan
Date: Wed Mar  8 03:44:06 2006
New Revision: 384185

URL: http://svn.apache.org/viewcvs?rev=384185&view=rev
Log:
deal with mbeans being already unregistered gracefully

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java?rev=384185&r1=384184&r2=384185&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagedRegionBroker.java
Wed Mar  8 03:44:06 2006
@@ -112,6 +112,9 @@
             try {
                 mbeanServer.unregisterMBean(name);
             }
+            catch (InstanceNotFoundException e) {
+                log.warn("The MBean: " + name + " is no longer registered with JMX");
+            }
             catch (Exception e) {
                 stopper.onException(this, e);
             }



Mime
View raw message