[ https://issues.apache.org/jira/browse/CASSANDRA-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp updated CASSANDRA-12869: ------------------------------------- Resolution: Fixed Fix Version/s: 3.11 Status: Resolved (was: Patch Available) +1 Committed as [d2d7299ee2442b762f5ee2814745e7b5720a41d6|https://github.com/apache/cassandra/commit/d2d7299ee2442b762f5ee2814745e7b5720a41d6] to [cassandra-3.X|https://github.com/apache/cassandra/tree/cassandra-3.X] and merged to trunk. > 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 > Fix For: 3.11 > > > 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)