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

    JMX: Disabling remote client connection to Connector server

    807605
      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();

      theEnv.put("jmx.remote.x.password.file",thePasswordFile.getAbsolutePath());

      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:
      sasrivas