cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduard Tudenhoefner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12869) Don't load mx4j beans twice
Date Wed, 02 Nov 2016 08:29:58 GMT
Eduard Tudenhoefner created CASSANDRA-12869:
-----------------------------------------------

             Summary: 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 CASSANDRA-12274

{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)

Mime
View raw message