": Trying to start jmx connector:" + "service:jmx:" + protocol
+ "://" + host + ":" + port);
/* TODO - changes required here ... */
ConfigContext configContext = getConfigContext();
JmxConnector connector = NodeAgentHelper.getNodeAgentSystemConnector(
configContext, getNodeAgentName());
final int iPort = Integer.parseInt(port);
final JmxConnectorServerDriver dr = new JmxConnectorServerDriver();
dr.setAuthentication(true);
dr.setAuthenticator(createJMXAuthenticator(connector));
dr.setMBeanServer(_server);
dr.setBindAddress(connector.getAddress());
dr.setPort(iPort);
dr.setProtocol(RemoteJmxProtocol.instance(protocol));
handleSsl(dr, connector);
dr.setLogger(_logger);
dr.setRmiRegistrySecureFlag(false); //TODO
final JMXConnectorServer serverEnd = dr.startConnectorServer();
getLogger().log(Level.INFO, "NodeAgent url = " +
"service:jmx:" + connector.getProtocol() +
"://" + connector.getAddress() +
":" + connector.getPort());
registerMBean(serverEnd, JMX_SERVER_MBEAN_PREFIX + port);
if (bDebug) query();
}