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=${getFreePort}
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 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 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
227 # When using this property to override the default login configuration
228 # then the named configuration entry must be in a file that gets loaded
229 # by JAAS. In addition, the login module(s) specified in the configuration
230 # should use the name and/or password callbacks to acquire the user's
231 # credentials. See the NameCallback and PasswordCallback classes in the
232 # javax.security.auth.callback package for more details.
233 #
234 # If the property "com.sun.management.jmxremote.authenticate" is set to
235 # false, then this property and the password & access files are ignored.
236 #
237
238 # For a non-default login configuration use the following line
239 # com.sun.management.jmxremote.login.config=<config-name>
240
241 #
242 # ################ RMI Password file location ##################
243 #
244 # com.sun.management.jmxremote.password.file=filepath
245 # Specifies location for password file
246 # This is optional - default location is
247 # $JRE/lib/management/jmxremote.password
248 #
249 # If the property "com.sun.management.jmxremote.authenticate" is set to
250 # false, then this property and the password & access files are ignored.
251 # Otherwise the password file must exist and be in the valid format.
252 # If the password file is empty or non-existent then no access is allowed.
253 #
254
255 # For a non-default password file location use the following line
256 # com.sun.management.jmxremote.password.file=filepath
257
258 #
259 # ################ RMI Access file location #####################
260 #
261 # com.sun.management.jmxremote.access.file=filepath
262 # Specifies location for access file
263 # This is optional - default location is
264 # $JRE/lib/management/jmxremote.access
265 #
266 # If the property "com.sun.management.jmxremote.authenticate" is set to
267 # false, then this property and the password & access files are ignored.
268 # Otherwise, the access file must exist and be in the valid format.
269 # If the access file is empty or non-existent then no access is allowed.
270 #
271
272 # For a non-default password file location use the following line
273 # 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=${getFreePort}
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 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 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
227 # When using this property to override the default login configuration
228 # then the named configuration entry must be in a file that gets loaded
229 # by JAAS. In addition, the login module(s) specified in the configuration
230 # should use the name and/or password callbacks to acquire the user's
231 # credentials. See the NameCallback and PasswordCallback classes in the
232 # javax.security.auth.callback package for more details.
233 #
234 # If the property "com.sun.management.jmxremote.authenticate" is set to
235 # false, then this property and the password & access files are ignored.
236 #
237
238 # For a non-default login configuration use the following line
239 # com.sun.management.jmxremote.login.config=<config-name>
240
241 #
242 # ################ RMI Password file location ##################
243 #
244 # com.sun.management.jmxremote.password.file=filepath
245 # Specifies location for password file
246 # This is optional - default location is
247 # $JRE/conf/management/jmxremote.password
248 #
249 # If the property "com.sun.management.jmxremote.authenticate" is set to
250 # false, then this property and the password & access files are ignored.
251 # Otherwise the password file must exist and be in the valid format.
252 # If the password file is empty or non-existent then no access is allowed.
253 #
254
255 # For a non-default password file location use the following line
256 # com.sun.management.jmxremote.password.file=filepath
257
258 #
259 # ################ RMI Access file location #####################
260 #
261 # com.sun.management.jmxremote.access.file=filepath
262 # Specifies location for access file
263 # This is optional - default location is
264 # $JRE/conf/management/jmxremote.access
265 #
266 # If the property "com.sun.management.jmxremote.authenticate" is set to
267 # false, then this property and the password & access files are ignored.
268 # Otherwise, the access file must exist and be in the valid format.
269 # If the access file is empty or non-existent then no access is allowed.
270 #
271
272 # For a non-default password file location use the following line
273 # com.sun.management.jmxremote.access.file=filepath
|