incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmatth...@apache.org
Subject svn commit: r1102732 - /incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java
Date Fri, 13 May 2011 13:45:23 GMT
Author: rmatthews
Date: Fri May 13 13:45:23 2011
New Revision: 1102732

URL: http://svn.apache.org/viewvc?rev=1102732&view=rev
Log:
JMX server no longer fails when a bean is added again.

Modified:
    incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java

Modified: incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java?rev=1102732&r1=1102731&r2=1102732&view=diff
==============================================================================
--- incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java
(original)
+++ incubator/isis/trunk/core/commons/src/main/java/org/apache/isis/core/commons/config/JmxBeanServer.java
Fri May 13 13:45:23 2011
@@ -60,7 +60,7 @@ public class JmxBeanServer {
         } catch (final NullPointerException e) {
             throw new RuntimeException(e);
         } catch (final InstanceAlreadyExistsException e) {
-            throw new RuntimeException(e);
+            LOG.info(name + " JMX mbean already registered: " + object);
         } catch (final MBeanRegistrationException e) {
             throw new RuntimeException(e);
         } catch (final NotCompliantMBeanException e) {



Mime
View raw message