[ https://issues.apache.org/jira/browse/CASSANDRA-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduard Tudenhoefner updated CASSANDRA-12869: -------------------------------------------- Status: Awaiting Feedback (was: In Progress) > Don't load mx4j beans twice > --------------------------- > > Key: CASSANDRA-12869 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12869 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Eduard Tudenhoefner > Assignee: Eduard Tudenhoefner > > 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. > {code} > 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] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)