src/java.management/share/conf/management.properties

Print this page


   1 #####################################################################
   2 #       Default Configuration File for Java Platform Management
   3 #####################################################################
   4 #
   5 # The Management Configuration file (in java.util.Properties format)
   6 # will be read if one of the following system properties is set:
   7 #    -Dcom.sun.management.jmxremote.port=<port-number>
   8 # or -Dcom.sun.management.snmp.port=<port-number>
   9 # or -Dcom.sun.management.config.file=<this-file>
  10 #
  11 # The default Management Configuration file is:
  12 #
  13 #       $JRE/lib/management/management.properties
  14 #
  15 # Another location for the Management Configuration File can be specified
  16 # by the following property on the Java command line:
  17 #
  18 #    -Dcom.sun.management.config.file=<this-file>
  19 #
  20 # If -Dcom.sun.management.config.file=<this-file> is set, the port
  21 # number for the management agent can be specified in the config file
  22 # using the following lines:
  23 #
  24 # ################ Management Agent Port #########################
  25 #
  26 # For setting the JMX RMI agent port use the following line
  27 # com.sun.management.jmxremote.port=<port-number>
  28 #
  29 # For setting the SNMP agent port use the following line
  30 # com.sun.management.snmp.port=<port-number>
  31 
  32 #####################################################################
  33 #                   Optional Instrumentation


  93 
  94 # For restricting the port on which SNMP agent listens use the following line
  95 # com.sun.management.snmp.interface=<InetAddress>
  96 
  97 #
  98 # #################### SNMP ACL file #########################
  99 #
 100 # com.sun.management.snmp.acl=true|false
 101 #      Default for this property is true. (Case for true/false ignored)
 102 #      If this property is specified as false then the ACL file
 103 #      is not checked:  all manager hosts are allowed all access.
 104 #
 105 
 106 # For SNMP without checking ACL file uncomment the following line
 107 # com.sun.management.snmp.acl=false
 108 
 109 #
 110 # com.sun.management.snmp.acl.file=filepath
 111 #      Specifies location for ACL file
 112 #      This is optional - default location is
 113 #      $JRE/lib/management/snmp.acl
 114 #
 115 #      If the property "com.sun.management.snmp.acl" is set to false,
 116 #      then this property and the ACL file are ignored.
 117 #      Otherwise the ACL file must exist and be in the valid format.
 118 #      If the ACL file is empty or non existent then no access is allowed.
 119 #
 120 #      The SNMP agent will read the ACL file at startup time.
 121 #      Modification to the ACL file has no effect to any running SNMP
 122 #      agents which read that ACL file at startup.
 123 #
 124 
 125 # For a non-default acl file location use the following line
 126 # com.sun.management.snmp.acl.file=filepath
 127 
 128 #####################################################################
 129 #                       RMI Management Properties
 130 #####################################################################
 131 #
 132 # If system property -Dcom.sun.management.jmxremote.port=<port-number>
 133 # is set then


 272 #      When using this property to override the default login configuration
 273 #      then the named configuration entry must be in a file that gets loaded
 274 #      by JAAS. In addition, the login module(s) specified in the configuration
 275 #      should use the name and/or password callbacks to acquire the user's
 276 #      credentials. See the NameCallback and PasswordCallback classes in the
 277 #      javax.security.auth.callback package for more details.
 278 #
 279 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 280 #      false, then this property and the password & access files are ignored.
 281 #
 282 
 283 # For a non-default login configuration use the following line
 284 # com.sun.management.jmxremote.login.config=<config-name>
 285 
 286 #
 287 # ################ RMI Password file location ##################
 288 #
 289 # com.sun.management.jmxremote.password.file=filepath
 290 #      Specifies location for password file
 291 #      This is optional - default location is
 292 #      $JRE/lib/management/jmxremote.password
 293 #
 294 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 295 #      false, then this property and the password & access files are ignored.
 296 #      Otherwise the password file must exist and be in the valid format.
 297 #      If the password file is empty or non-existent then no access is allowed.
 298 #
 299 
 300 # For a non-default password file location use the following line
 301 # com.sun.management.jmxremote.password.file=filepath
 302 
 303 #
 304 # ################ RMI Access file location #####################
 305 #
 306 # com.sun.management.jmxremote.access.file=filepath
 307 #      Specifies location for access  file
 308 #      This is optional - default location is
 309 #      $JRE/lib/management/jmxremote.access
 310 #
 311 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 312 #      false, then this property and the password & access files are ignored.
 313 #      Otherwise, the access file must exist and be in the valid format.
 314 #      If the access file is empty or non-existent then no access is allowed.
 315 #
 316 
 317 # For a non-default password file location use the following line
 318 # com.sun.management.jmxremote.access.file=filepath
   1 #####################################################################
   2 #       Default Configuration File for Java Platform Management
   3 #####################################################################
   4 #
   5 # The Management Configuration file (in java.util.Properties format)
   6 # will be read if one of the following system properties is set:
   7 #    -Dcom.sun.management.jmxremote.port=<port-number>
   8 # or -Dcom.sun.management.snmp.port=<port-number>
   9 # or -Dcom.sun.management.config.file=<this-file>
  10 #
  11 # The default Management Configuration file is:
  12 #
  13 #       $JRE/conf/management/management.properties
  14 #
  15 # Another location for the Management Configuration File can be specified
  16 # by the following property on the Java command line:
  17 #
  18 #    -Dcom.sun.management.config.file=<this-file>
  19 #
  20 # If -Dcom.sun.management.config.file=<this-file> is set, the port
  21 # number for the management agent can be specified in the config file
  22 # using the following lines:
  23 #
  24 # ################ Management Agent Port #########################
  25 #
  26 # For setting the JMX RMI agent port use the following line
  27 # com.sun.management.jmxremote.port=<port-number>
  28 #
  29 # For setting the SNMP agent port use the following line
  30 # com.sun.management.snmp.port=<port-number>
  31 
  32 #####################################################################
  33 #                   Optional Instrumentation


  93 
  94 # For restricting the port on which SNMP agent listens use the following line
  95 # com.sun.management.snmp.interface=<InetAddress>
  96 
  97 #
  98 # #################### SNMP ACL file #########################
  99 #
 100 # com.sun.management.snmp.acl=true|false
 101 #      Default for this property is true. (Case for true/false ignored)
 102 #      If this property is specified as false then the ACL file
 103 #      is not checked:  all manager hosts are allowed all access.
 104 #
 105 
 106 # For SNMP without checking ACL file uncomment the following line
 107 # com.sun.management.snmp.acl=false
 108 
 109 #
 110 # com.sun.management.snmp.acl.file=filepath
 111 #      Specifies location for ACL file
 112 #      This is optional - default location is
 113 #      $JRE/conf/management/snmp.acl
 114 #
 115 #      If the property "com.sun.management.snmp.acl" is set to false,
 116 #      then this property and the ACL file are ignored.
 117 #      Otherwise the ACL file must exist and be in the valid format.
 118 #      If the ACL file is empty or non existent then no access is allowed.
 119 #
 120 #      The SNMP agent will read the ACL file at startup time.
 121 #      Modification to the ACL file has no effect to any running SNMP
 122 #      agents which read that ACL file at startup.
 123 #
 124 
 125 # For a non-default acl file location use the following line
 126 # com.sun.management.snmp.acl.file=filepath
 127 
 128 #####################################################################
 129 #                       RMI Management Properties
 130 #####################################################################
 131 #
 132 # If system property -Dcom.sun.management.jmxremote.port=<port-number>
 133 # is set then


 272 #      When using this property to override the default login configuration
 273 #      then the named configuration entry must be in a file that gets loaded
 274 #      by JAAS. In addition, the login module(s) specified in the configuration
 275 #      should use the name and/or password callbacks to acquire the user's
 276 #      credentials. See the NameCallback and PasswordCallback classes in the
 277 #      javax.security.auth.callback package for more details.
 278 #
 279 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 280 #      false, then this property and the password & access files are ignored.
 281 #
 282 
 283 # For a non-default login configuration use the following line
 284 # com.sun.management.jmxremote.login.config=<config-name>
 285 
 286 #
 287 # ################ RMI Password file location ##################
 288 #
 289 # com.sun.management.jmxremote.password.file=filepath
 290 #      Specifies location for password file
 291 #      This is optional - default location is
 292 #      $JRE/conf/management/jmxremote.password
 293 #
 294 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 295 #      false, then this property and the password & access files are ignored.
 296 #      Otherwise the password file must exist and be in the valid format.
 297 #      If the password file is empty or non-existent then no access is allowed.
 298 #
 299 
 300 # For a non-default password file location use the following line
 301 # com.sun.management.jmxremote.password.file=filepath
 302 
 303 #
 304 # ################ RMI Access file location #####################
 305 #
 306 # com.sun.management.jmxremote.access.file=filepath
 307 #      Specifies location for access  file
 308 #      This is optional - default location is
 309 #      $JRE/conf/management/jmxremote.access
 310 #
 311 #      If the property "com.sun.management.jmxremote.authenticate" is set to
 312 #      false, then this property and the password & access files are ignored.
 313 #      Otherwise, the access file must exist and be in the valid format.
 314 #      If the access file is empty or non-existent then no access is allowed.
 315 #
 316 
 317 # For a non-default password file location use the following line
 318 # com.sun.management.jmxremote.access.file=filepath