JMXServiceURL url = new JMXServiceURL(jmxURL);
// Security credentials are included in the env Map
HashMap<String, CarbonJMXAuthenticator> env =
new HashMap<String, CarbonJMXAuthenticator>();
env.put(JMXConnectorServer.AUTHENTICATOR, new CarbonJMXAuthenticator());
jmxConnectorServer =
JMXConnectorServerFactory.newJMXConnectorServer(url, env, mbs);
jmxConnectorServer.start();
log.info("JMX Service URL : " + jmxURL);
} catch (Exception e) {