Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
This happens on cassandra-3.X and trunk because there are two calls to Mx4jTool.maybeLoad(). I think this was an unintentional side-effect of merging CASSANDRA-12274
upstream.
WARN [main] 2016-11-02 09:07:09,294 Mx4jTool.java:72 - Could not start register mbean in JMX javax.management.InstanceAlreadyExistsException: system:name=http at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) ~[na:1.8.0_91] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898) ~[na:1.8.0_91] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966) ~[na:1.8.0_91] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900) ~[na:1.8.0_91] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324) ~[na:1.8.0_91] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) ~[na:1.8.0_91] at org.apache.cassandra.utils.Mx4jTool.maybeLoad(Mx4jTool.java:55) ~[main/:na] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:414) [main/:na] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:603) [main/:na] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:737) [main/:na]