src/jdk.management.agent/share/conf/management.properties
author hb
Fri, 19 Jan 2018 13:56:36 +0530
branchjmx-rest-api
changeset 56027 81372436b79e
parent 56003 4f7f76f6be2f
permissions -rw-r--r--
Fixed double string escaping, corrected type
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
#	Default Configuration File for Java Platform Management
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# The Management Configuration file (in java.util.Properties format)
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# will be read if one of the following system properties is set:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
#    -Dcom.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# or -Dcom.sun.management.snmp.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# or -Dcom.sun.management.config.file=<this-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# The default Management Configuration file is:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    13
#       $JRE/conf/management/management.properties
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# Another location for the Management Configuration File can be specified
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# by the following property on the Java command line:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#    -Dcom.sun.management.config.file=<this-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# If -Dcom.sun.management.config.file=<this-file> is set, the port
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# number for the management agent can be specified in the config file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# using the following lines:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# ################ Management Agent Port #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# For setting the JMX RMI agent port use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# com.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# For setting the SNMP agent port use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# com.sun.management.snmp.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
56003
4f7f76f6be2f * Start Rest adapter via command line arguments
hb
parents: 48144
diff changeset
    32
# ################ Rest adapter Port #########################
4f7f76f6be2f * Start Rest adapter via command line arguments
hb
parents: 48144
diff changeset
    33
#
4f7f76f6be2f * Start Rest adapter via command line arguments
hb
parents: 48144
diff changeset
    34
# For starting the rest adapter, set the port use the following line
56027
81372436b79e Fixed double string escaping, corrected type
hb
parents: 56003
diff changeset
    35
# com.sun.management.jmxremote.rest.port=<port-number>
56003
4f7f76f6be2f * Start Rest adapter via command line arguments
hb
parents: 48144
diff changeset
    36
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
#                   Optional Instrumentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# By default only the basic instrumentation with low overhead is on.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
# The following properties allow to selectively turn on optional
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
# instrumentation which are off by default and may have some
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
# additional overhead.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
#      This option enables thread contention monitoring if the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
#      Java virtual machine supports such instrumentation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
#      Refer to the specification for the java.lang.management.ThreadMBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
#      interface - see isThreadContentionMonitoringSupported() method.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
# To enable thread contention monitoring, uncomment the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
#			SNMP Management Properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
# If the system property -Dcom.sun.management.snmp.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
# is set then
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
#	- The SNMP agent (with the Java virtual machine MIB) is started
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
#	  that listens on the specified port for incoming SNMP requests.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#	- the following properties for read for SNMP management.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
# The configuration can be specified only at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
# Later changes to the above system property (e.g. via setProperty method), this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
# config file, or the ACL file has no effect to the running SNMP agent.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
# ##################### SNMP Trap Port #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
# com.sun.management.snmp.trap=<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
#      Specifies the remote port number at which managers are expected
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
#      to listen for trap. For each host defined in the ACL file,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
#      the SNMP agent will send traps at <host>:<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
#      Default for this property is 162.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
# To set port for sending traps to a different port use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
# com.sun.management.snmp.trap=<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
# ################ SNMP listen interface #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
# com.sun.management.snmp.interface=<InetAddress>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
#      Specifies the local interface on which the SNMP agent will bind.
1447
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    90
#      This is useful when running on machines which have several
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
#      interfaces defined. It makes it possible to listen to a specific
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
#      subnet accessible through that interface.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
#      Default for this property is "localhost".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
#      The format of the value for that property is any string accepted
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
#      by java.net.InetAddress.getByName(String).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
# For restricting the port on which SNMP agent listens use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
# com.sun.management.snmp.interface=<InetAddress>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
# #################### SNMP ACL file #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
# com.sun.management.snmp.acl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
#      If this property is specified as false then the ACL file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
#      is not checked:  all manager hosts are allowed all access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
# For SNMP without checking ACL file uncomment the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
# com.sun.management.snmp.acl=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
# com.sun.management.snmp.acl.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
#      Specifies location for ACL file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
   118
#      $JRE/conf/management/snmp.acl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
#      If the property "com.sun.management.snmp.acl" is set to false,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
#      then this property and the ACL file are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
#      Otherwise the ACL file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
#      If the ACL file is empty or non existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
#      The SNMP agent will read the ACL file at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
#      Modification to the ACL file has no effect to any running SNMP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
#      agents which read that ACL file at startup.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
# For a non-default acl file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
# com.sun.management.snmp.acl.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
#			RMI Management Properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
# If system property -Dcom.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
# is set then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
#     - A MBean server is started
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
#     - JRE Platform MBeans are registered in the MBean server
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
#     - RMI connector is published  in a private readonly registry at
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
#       specified port using a well known name, "jmxrmi"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
#     - the following properties are read for JMX remote management.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
# The configuration can be specified only at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
# Later changes to above system property (e.g. via setProperty method),
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
# this config file, the password file, or the access file have no effect to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
# running MBean server, the connector, or the registry.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
#
1447
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   152
# ########## RMI connector settings for local management ##########
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   153
#
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   154
# com.sun.management.jmxremote.local.only=true|false
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   155
#      Default for this property is true. (Case for true/false ignored)
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   156
#      If this property is specified as true then the local JMX RMI connector
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   157
#      server will only accept connection requests from clients running on
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   158
#      the host where the out-of-the-box JMX management agent is running.
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   159
#      In order to ensure backwards compatibility this property could be
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   160
#      set to false. However, deploying the local management agent in this
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   161
#      way is discouraged because the local JMX RMI connector server will
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   162
#      accept connection requests from any client either local or remote.
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   163
#      For remote management the remote JMX RMI connector server should
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   164
#      be used instead with authentication and SSL/TLS encryption enabled.
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   165
#
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   166
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   167
# For allowing the local management agent accept local
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   168
# and remote connection requests use the following line
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   169
# com.sun.management.jmxremote.local.only=false
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   170
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
   171
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
# ###################### RMI SSL #############################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
# com.sun.management.jmxremote.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
#      If this property is specified as false then SSL is not used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
# For RMI monitoring without SSL use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
# com.sun.management.jmxremote.ssl=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
# com.sun.management.jmxremote.ssl.config.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
#      Specifies the location of the SSL configuration file. A properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
#      file can be used to supply the keystore and truststore location and
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
#      password settings thus avoiding to pass them as cleartext in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
#      command-line.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
#      The current implementation of the out-of-the-box management agent will
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
#      look up and use the properties specified below to configure the SSL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
#      keystore and truststore, if present:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
#          javax.net.ssl.keyStore=<keystore-location>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
#          javax.net.ssl.keyStorePassword=<keystore-password>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
#          javax.net.ssl.trustStore=<truststore-location>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
#          javax.net.ssl.trustStorePassword=<truststore-password>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
#      Any other properties in the file will be ignored. This will allow us
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
#      to extend the property set in the future if required by the default
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
#      SSL implementation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
#      If the property "com.sun.management.jmxremote.ssl" is set to false,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
#      then this property is ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
# For supplying the keystore settings in a file use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
# com.sun.management.jmxremote.ssl.config.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
# com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
#      of SSL/TLS cipher suites to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
#      in order to control which particular SSL/TLS cipher suites are enabled
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
#      for use by accepted connections. If this property is not specified then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
#      the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
#      are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
# com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
#      of SSL/TLS protocol versions to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
#      in order to control which particular SSL/TLS protocol versions are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
#      enabled for use by accepted connections. If this property is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
#      specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
#      protocol versions that are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
# com.sun.management.jmxremote.ssl.need.client.auth=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
#      If this property is specified as true in conjunction with the previous
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
#      property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
#      Socket Factory will require client authentication.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
# For RMI monitoring with SSL client authentication use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
# com.sun.management.jmxremote.ssl.need.client.auth=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
# com.sun.management.jmxremote.registry.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
#      If this property is specified as true then the RMI registry used
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
#      to bind the RMIServer remote object is protected with SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
#      RMI Socket Factories that can be configured with the properties:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
#          com.sun.management.jmxremote.ssl.config.file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
#          com.sun.management.jmxremote.ssl.enabled.cipher.suites
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
#          com.sun.management.jmxremote.ssl.enabled.protocols
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
#          com.sun.management.jmxremote.ssl.need.client.auth
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
#      If the two properties below are true at the same time, i.e.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
#          com.sun.management.jmxremote.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
#          com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
#      then the RMIServer remote object and the RMI registry are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
#      both exported with the same SSL/TLS RMI Socket Factories.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
# For using an SSL/TLS protected RMI registry use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
# com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
# ################ RMI User authentication ################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
# com.sun.management.jmxremote.authenticate=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
#      If this property is specified as false then no authentication is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
#      performed and all users are allowed all access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
# For RMI monitoring without any checking use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
# com.sun.management.jmxremote.authenticate=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
# ################ RMI Login configuration ###################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
# com.sun.management.jmxremote.login.config=<config-name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
#      Specifies the name of a JAAS login configuration entry to use when
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
#      authenticating users of RMI monitoring.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
#      Setting this property is optional - the default login configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
#      specifies a file-based authentication that uses the password file.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
#      When using this property to override the default login configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
#      then the named configuration entry must be in a file that gets loaded
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
#      by JAAS. In addition, the login module(s) specified in the configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
#      should use the name and/or password callbacks to acquire the user's
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
#      credentials. See the NameCallback and PasswordCallback classes in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
#      javax.security.auth.callback package for more details.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
# For a non-default login configuration use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
# com.sun.management.jmxremote.login.config=<config-name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
# ################ RMI Password file location ##################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
#      Specifies location for password file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
   297
#      $JRE/conf/management/jmxremote.password
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
#      Otherwise the password file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
#      If the password file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
#
48144
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   309
# ################# Hash passwords in password file ##############
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   310
# com.sun.management.jmxremote.password.toHashes = true|false
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   311
#      Default for this property is true.
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   312
#      Specifies if passwords in the password file should be hashed or not.
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   313
#      If this property is true, and if the password file is writable, and if the 
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   314
#      system security policy allows writing into the password file,
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   315
#      all the clear passwords in the password file will be replaced by
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   316
#      their SHA3-512 hash when the file is read by the server
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   317
#
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   318
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   319
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
# ################ RMI Access file location #####################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
# com.sun.management.jmxremote.access.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
#      Specifies location for access  file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
   325
#      $JRE/conf/management/jmxremote.access
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
#      Otherwise, the access file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
#      If the access file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
# com.sun.management.jmxremote.access.file=filepath
35263
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   335
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   336
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   337
# ################ Management agent listen interface #########################
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   338
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   339
# com.sun.management.jmxremote.host=<host-or-interface-name>
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   340
#      Specifies the local interface on which the JMX RMI agent will bind.
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   341
#      This is useful when running on machines which have several
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   342
#      interfaces defined. It makes it possible to listen to a specific
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   343
#      subnet accessible through that interface.
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   344
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   345
#      The format of the value for that property is any string accepted
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   346
#      by java.net.InetAddress.getByName(String).
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   347
#
47425
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   348
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   349
# ################ Filter for ObjectInputStream #############################
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   350
# com.sun.management.jmxremote.serial.filter.pattern=<filter-string>
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   351
#   A filter, if configured, is used by java.io.ObjectInputStream during
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   352
#   deserialization of parameters sent to the JMX default agent to validate the 
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   353
#   contents of the stream.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   354
#   A filter is configured as a sequence of patterns, each pattern is either
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   355
#   matched against the name of a class in the stream or defines a limit.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   356
#   Patterns are separated by ";" (semicolon).
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   357
#   Whitespace is significant and is considered part of the pattern.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   358
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   359
#   If a pattern includes a "=", it sets a limit.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   360
#   If a limit appears more than once the last value is used.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   361
#   Limits are checked before classes regardless of the order in the sequence of patterns.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   362
#   If any of the limits are exceeded, the filter status is REJECTED.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   363
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   364
#       maxdepth=value - the maximum depth of a graph
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   365
#       maxrefs=value  - the maximum number of internal references
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   366
#       maxbytes=value - the maximum number of bytes in the input stream
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   367
#       maxarray=value - the maximum array length allowed
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   368
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   369
#   Other patterns, from left to right, match the class or package name as
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   370
#   returned from Class.getName.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   371
#   If the class is an array type, the class or package to be matched is the element type.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   372
#   Arrays of any number of dimensions are treated the same as the element type.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   373
#   For example, a pattern of "!example.Foo", rejects creation of any instance or
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   374
#   array of example.Foo.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   375
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   376
#   If the pattern starts with "!", the status is REJECTED if the remaining pattern
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   377
#       is matched; otherwise the status is ALLOWED if the pattern matches.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   378
#   If the pattern contains "/", the non-empty prefix up to the "/" is the module name;
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   379
#       if the module name matches the module name of the class then
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   380
#       the remaining pattern is matched with the class name.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   381
#   If there is no "/", the module name is not compared.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   382
#   If the pattern ends with ".**" it matches any class in the package and all subpackages.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   383
#   If the pattern ends with ".*" it matches any class in the package.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   384
#   If the pattern ends with "*", it matches any class with the pattern as a prefix.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   385
#   If the pattern is equal to the class name, it matches.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   386
#   Otherwise, the status is UNDECIDED.