Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…return a null at JmxMonitor constructor.

(cherry picked from commit ac733cd)

Signed-off-by: Ran Tavory <rantav@gmail.com>
  • Loading branch information
rantav committed Apr 19, 2010
1 parent ff3e4db commit 4ef91ed
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ private JmxMonitor() {
mbs = ManagementFactory.getPlatformMBeanServer();
this.cassandraClientMonitor = cassandraClientMonitor;
try {
registerMonitor(CassandraClientMonitor.class.getPackage().getName(), "hector",
registerMonitor("me.prettyprint.cassandra.service", "hector",
cassandraClientMonitor);
} catch (MalformedObjectNameException e) {
log.error("Unable to register JMX monitor", e);
Expand Down

0 comments on commit 4ef91ed

Please sign in to comment.