[ https://issues.apache.org/jira/browse/CASSANDRA-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628223#comment-15628223 ]
Eduard Tudenhoefner edited comment on CASSANDRA-12869 at 11/2/16 10:10 AM: --------------------------------------------------------------------------- [~snazy] could you review https://github.com/apache/cassandra/pull/80 / https://github.com/apache/cassandra/pull/81 please? Alternatively, here are the branches: * [cassandra-3.X|https://github.com/nastra/cassandra/tree/12869-3.X] * [trunk|https://github.com/nastra/cassandra/tree/12869-trunk] was (Author: eduard.tudenhoefner): [~snazy] could you review https://github.com/apache/cassandra/pull/80 / https://github.com/apache/cassandra/pull/81 please? > 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)