0 Replies Latest reply: Aug 27, 2007 11:04 AM by 807605 RSS

    JMX: Disabling remote client connection to Connector server

      Is there any way to disable the remote client connection to JMXConnectorServer.

      Currently I am creating a JMXConnectorServer with passwd file , to make connection secure.There I am using a passwd file.

      Is there any way to eleminate this password file ??

      HashMap theEnv = new HashMap();


      JMXServiceURL theRMIurl = new JMXServiceURL( "service:jmx:rmi:///jndi/rmi://localhost:"+theRMIPort+"/server");

      theConnectorServer = JMXConnectorServerFactory.newJMXConnectorServer(theRMIurl, theEnv, gMBeanServer);

      1. My first requirement is to disable remote connection .

      2. My second requirement is , I want to avoid passwd file when I create JMXConnector server.

      Message was edited by: