src/jdk.management.agent/share/conf/management.properties
author asapre
Fri, 06 Apr 2018 17:27:24 +0530
changeset 49542 da62fa14a3fe
parent 48144 364207a23251
permissions -rw-r--r--
8071367: JMX: Remove SNMP support Summary: Drop jdk.snmp module. Reviewed-by: alanb, mchung, dfuchs Contributed-by: amit.sapre@oracle.com
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.config.file=<this-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# The default Management Configuration file is:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    12
#       $JRE/conf/management/management.properties
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# Another location for the Management Configuration File can be specified
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# by the following property on the Java command line:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
#    -Dcom.sun.management.config.file=<this-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# If -Dcom.sun.management.config.file=<this-file> is set, the port
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# number for the management agent can be specified in the config file
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# using the following lines:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# ################ Management Agent Port #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# For setting the JMX RMI agent port use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# com.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#                   Optional Instrumentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
# By default only the basic instrumentation with low overhead is on.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# The following properties allow to selectively turn on optional
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# instrumentation which are off by default and may have some
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
# additional overhead.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#      This option enables thread contention monitoring if the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
#      Java virtual machine supports such instrumentation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
#      Refer to the specification for the java.lang.management.ThreadMBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#      interface - see isThreadContentionMonitoringSupported() method.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
# To enable thread contention monitoring, uncomment the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
#			RMI Management Properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
# If system property -Dcom.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
# is set then
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
#     - A MBean server is started
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
#     - JRE Platform MBeans are registered in the MBean server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#     - RMI connector is published  in a private readonly registry at
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
#       specified port using a well known name, "jmxrmi"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
#     - the following properties are read for JMX remote management.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
# The configuration can be specified only at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
# Later changes to above system property (e.g. via setProperty method),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
# this config file, the password file, or the access file have no effect to the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
# running MBean server, the connector, or the registry.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
#
1447
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    68
# ########## 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
    69
#
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    70
# 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
    71
#      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
    72
#      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
    73
#      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
    74
#      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
    75
#      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
    76
#      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
    77
#      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
    78
#      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
    79
#      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
    80
#      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
    81
#
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    82
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    83
# 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
    84
# 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
    85
# 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
    86
95d5bd511ec2 6332953: JMX agent should bind to loopback address when starting the local connector server
dfuchs
parents: 2
diff changeset
    87
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
# ###################### RMI SSL #############################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
# com.sun.management.jmxremote.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
#      If this property is specified as false then SSL is not used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
# For RMI monitoring without SSL use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
# com.sun.management.jmxremote.ssl=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
# com.sun.management.jmxremote.ssl.config.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
#      Specifies the location of the SSL configuration file. A properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
#      file can be used to supply the keystore and truststore location and
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
#      password settings thus avoiding to pass them as cleartext in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
#      command-line.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
#      The current implementation of the out-of-the-box management agent will
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
#      look up and use the properties specified below to configure the SSL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
#      keystore and truststore, if present:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
#          javax.net.ssl.keyStore=<keystore-location>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
#          javax.net.ssl.keyStorePassword=<keystore-password>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
#          javax.net.ssl.trustStore=<truststore-location>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
#          javax.net.ssl.trustStorePassword=<truststore-password>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
#      Any other properties in the file will be ignored. This will allow us
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
#      to extend the property set in the future if required by the default
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
#      SSL implementation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
#      If the property "com.sun.management.jmxremote.ssl" is set to false,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
#      then this property is ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
# For supplying the keystore settings in a file use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
# com.sun.management.jmxremote.ssl.config.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
# com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
#      of SSL/TLS cipher suites to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
#      in order to control which particular SSL/TLS cipher suites are enabled
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
#      for use by accepted connections. If this property is not specified then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
#      the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
#      are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
# com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
#      of SSL/TLS protocol versions to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
#      in order to control which particular SSL/TLS protocol versions are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
#      enabled for use by accepted connections. If this property is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
#      specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
#      protocol versions that are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
# com.sun.management.jmxremote.ssl.need.client.auth=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
#      If this property is specified as true in conjunction with the previous
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
#      property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
#      Socket Factory will require client authentication.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
# For RMI monitoring with SSL client authentication use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
# com.sun.management.jmxremote.ssl.need.client.auth=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
# com.sun.management.jmxremote.registry.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
#      If this property is specified as true then the RMI registry used
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
#      to bind the RMIServer remote object is protected with SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
#      RMI Socket Factories that can be configured with the properties:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
#          com.sun.management.jmxremote.ssl.config.file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
#          com.sun.management.jmxremote.ssl.enabled.cipher.suites
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
#          com.sun.management.jmxremote.ssl.enabled.protocols
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
#          com.sun.management.jmxremote.ssl.need.client.auth
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
#      If the two properties below are true at the same time, i.e.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
#          com.sun.management.jmxremote.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
#          com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
#      then the RMIServer remote object and the RMI registry are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
#      both exported with the same SSL/TLS RMI Socket Factories.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
# For using an SSL/TLS protected RMI registry use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
# com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
# ################ RMI User authentication ################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
# com.sun.management.jmxremote.authenticate=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 no authentication is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
#      performed and all users are allowed all access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
# For RMI monitoring without any checking use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
# com.sun.management.jmxremote.authenticate=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
# ################ RMI Login configuration ###################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
# com.sun.management.jmxremote.login.config=<config-name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
#      Specifies the name of a JAAS login configuration entry to use when
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
#      authenticating users of RMI monitoring.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
#      Setting this property is optional - the default login configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
#      specifies a file-based authentication that uses the password file.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
#      When using this property to override the default login configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
#      then the named configuration entry must be in a file that gets loaded
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
#      by JAAS. In addition, the login module(s) specified in the configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
#      should use the name and/or password callbacks to acquire the user's
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
#      credentials. See the NameCallback and PasswordCallback classes in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#      javax.security.auth.callback package for more details.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
# For a non-default login configuration use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
# com.sun.management.jmxremote.login.config=<config-name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
# ################ RMI Password file location ##################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
#      Specifies location for password file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
   213
#      $JRE/conf/management/jmxremote.password
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
#      Otherwise the password file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
#      If the password file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
#
48144
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   225
# ################# 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
   226
# 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
   227
#      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
   228
#      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
   229
#      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
   230
#      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
   231
#      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
   232
#      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
   233
#
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   234
364207a23251 5016517: Replace plaintext passwords by hashed passwords for out-of-the-box JMX Agent
hb
parents: 47425
diff changeset
   235
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
# ################ RMI Access file location #####################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
# com.sun.management.jmxremote.access.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
#      Specifies location for access  file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
   241
#      $JRE/conf/management/jmxremote.access
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
#      If the property "com.sun.management.jmxremote.authenticate" is set to
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
#      Otherwise, the access file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
#      If the access file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
# com.sun.management.jmxremote.access.file=filepath
35263
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   251
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   252
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   253
# ################ Management agent listen interface #########################
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   254
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   255
# 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
   256
#      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
   257
#      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
   258
#      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
   259
#      subnet accessible through that interface.
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   260
#
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   261
#      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
   262
#      by java.net.InetAddress.getByName(String).
4f66e1eabbe3 6425769: Allow specifying an address to bind JMX remote connector
sgehwolf
parents: 27565
diff changeset
   263
#
47425
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   264
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   265
# ################ Filter for ObjectInputStream #############################
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   266
# 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
   267
#   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
   268
#   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
   269
#   contents of the stream.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   270
#   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
   271
#   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
   272
#   Patterns are separated by ";" (semicolon).
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   273
#   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
   274
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   275
#   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
   276
#   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
   277
#   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
   278
#   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
   279
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   280
#       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
   281
#       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
   282
#       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
   283
#       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
   284
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   285
#   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
   286
#   returned from Class.getName.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   287
#   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
   288
#   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
   289
#   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
   290
#   array of example.Foo.
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   291
#
96179f26139e 8187556: Backout of a fix reintroduced a dependency that had since been removed
jwilhelm
parents: 47216
diff changeset
   292
#   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
   293
#       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
   294
#   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
   295
#       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
   296
#       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
   297
#   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
   298
#   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
   299
#   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
   300
#   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
   301
#   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
   302
#   Otherwise, the status is UNDECIDED.