0 Replies Latest reply: Mar 2, 2010 4:30 AM by 843798 RSS

    JMX java.security.auth.login.config module not loading


      I would like to setup my JMX remote to encrypt the password. My class implements LoginModule and I have the following command line configurations
      set JMX_AUTH_DETAILS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5000 -Djava.security.auth.login.config==C:\bin\sample_jaas.config
      The configuration file is
      /** Login Configuration for the JAAS Sample Application **/
      Sample {
         com.jmx.SampleLoginModule required debug=true;
      I have placed the jar in my classpath and loaded with the JVM starting up. But I get an error saying unable to find passwordFile=C:\Program Files\Java\jre6\lib\management\jmxremote.password

      Even when I set this on the command line args. And then do a remote debug via eclipse it does not seem to execute the initialize on my SampleLoginModule class. Am I missing a command line arg?