protected void stopJmxConnector(){
  try {
    if (jmxConnectorServer != null)     jmxConnectorServer.stop();
  }
 catch (  IOException e) {
    logger.warn("Unexpected error while shutting down JMX server",e);
  }
}

protected void stopJmxConnector ( ) { try { if ( jmxConnectorServer != null ) jmxConnectorServer . stop ( ) ; } catch ( IOException e ) { logger . warn ( "Unexpected error while shutting down JMX server" , e ) ; } }
stops the jmx connector if it is running .
