management.properties 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. # ========================================================================
  2. # Licensed Materials - Property of IBM
  3. # "Restricted Materials of IBM"
  4. #
  5. # IBM SDK, Java(tm) Technology Edition, v8
  6. # (C) Copyright IBM Corp. 2000, 2018. All Rights Reserved
  7. #
  8. # US Government Users Restricted Rights - Use, duplication or disclosure
  9. # restricted by GSA ADP Schedule Contract with IBM Corp.
  10. # ========================================================================
  11. # Default Configuration File for Java Platform Management
  12. #####################################################################
  13. #
  14. # The Management Configuration file (in java.util.Properties format)
  15. # will be read if one of the following system properties is set:
  16. # -Dcom.sun.management.jmxremote.port=<port-number>
  17. # or -Dcom.sun.management.snmp.port=<port-number>
  18. # or -Dcom.sun.management.config.file=<this-file>
  19. #
  20. # The default Management Configuration file is:
  21. #
  22. # $JRE/lib/management/management.properties
  23. #
  24. # Another location for the Management Configuration File can be specified
  25. # by the following property on the Java command line:
  26. #
  27. # -Dcom.sun.management.config.file=<this-file>
  28. #
  29. # If -Dcom.sun.management.config.file=<this-file> is set, the port
  30. # number for the management agent can be specified in the config file
  31. # using the following lines:
  32. #
  33. # ################ Management Agent Port #########################
  34. #
  35. # For setting the JMX RMI agent port use the following line
  36. # com.sun.management.jmxremote.port=<port-number>
  37. #
  38. # For setting the SNMP agent port use the following line
  39. # com.sun.management.snmp.port=<port-number>
  40. #####################################################################
  41. # Optional Instrumentation
  42. #####################################################################
  43. #
  44. # By default only the basic instrumentation with low overhead is on.
  45. # The following properties allow to selectively turn on optional
  46. # instrumentation which are off by default and may have some
  47. # additional overhead.
  48. #
  49. # com.sun.management.enableThreadContentionMonitoring
  50. #
  51. # This option enables thread contention monitoring if the
  52. # Java virtual machine supports such instrumentation.
  53. # Refer to the specification for the java.lang.management.ThreadMBean
  54. # interface - see isThreadContentionMonitoringSupported() method.
  55. #
  56. # To enable thread contention monitoring, uncomment the following line
  57. # com.sun.management.enableThreadContentionMonitoring
  58. #####################################################################
  59. # SNMP Management Properties
  60. #####################################################################
  61. #
  62. # If the system property -Dcom.sun.management.snmp.port=<port-number>
  63. # is set then
  64. # - The SNMP agent (with the Java virtual machine MIB) is started
  65. # that listens on the specified port for incoming SNMP requests.
  66. # - the following properties for read for SNMP management.
  67. #
  68. # The configuration can be specified only at startup time.
  69. # Later changes to the above system property (e.g. via setProperty method), this
  70. # config file, or the ACL file has no effect to the running SNMP agent.
  71. #
  72. #
  73. # ##################### SNMP Trap Port #########################
  74. #
  75. # com.sun.management.snmp.trap=<trap-destination-port-number>
  76. # Specifies the remote port number at which managers are expected
  77. # to listen for trap. For each host defined in the ACL file,
  78. # the SNMP agent will send traps at <host>:<trap-destination-port-number>
  79. # Default for this property is 162.
  80. #
  81. # To set port for sending traps to a different port use the following line
  82. # com.sun.management.snmp.trap=<trap-destination-port-number>
  83. #
  84. # ################ SNMP listen interface #########################
  85. #
  86. # com.sun.management.snmp.interface=<InetAddress>
  87. # Specifies the local interface on which the SNMP agent will bind.
  88. # This is useful when running on machines which have several
  89. # interfaces defined. It makes it possible to listen to a specific
  90. # subnet accessible through that interface.
  91. # Default for this property is "localhost".
  92. #
  93. # The format of the value for that property is any string accepted
  94. # by java.net.InetAddress.getByName(String).
  95. #
  96. # For restricting the port on which SNMP agent listens use the following line
  97. # com.sun.management.snmp.interface=<InetAddress>
  98. #
  99. # #################### SNMP ACL file #########################
  100. #
  101. # com.sun.management.snmp.acl=true|false
  102. # Default for this property is true. (Case for true/false ignored)
  103. # If this property is specified as false then the ACL file
  104. # is not checked: all manager hosts are allowed all access.
  105. #
  106. # For SNMP without checking ACL file uncomment the following line
  107. # com.sun.management.snmp.acl=false
  108. #
  109. # com.sun.management.snmp.acl.file=filepath
  110. # Specifies location for ACL file
  111. # This is optional - default location is
  112. # $JRE/lib/management/snmp.acl
  113. #
  114. # If the property "com.sun.management.snmp.acl" is set to false,
  115. # then this property and the ACL file are ignored.
  116. # Otherwise the ACL file must exist and be in the valid format.
  117. # If the ACL file is empty or non existent then no access is allowed.
  118. #
  119. # The SNMP agent will read the ACL file at startup time.
  120. # Modification to the ACL file has no effect to any running SNMP
  121. # agents which read that ACL file at startup.
  122. #
  123. # For a non-default acl file location use the following line
  124. # com.sun.management.snmp.acl.file=filepath
  125. #####################################################################
  126. # RMI Management Properties
  127. #####################################################################
  128. #
  129. # If system property -Dcom.sun.management.jmxremote.port=<port-number>
  130. # is set then
  131. # - A MBean server is started
  132. # - JRE Platform MBeans are registered in the MBean server
  133. # - RMI connector is published in a private readonly registry at
  134. # specified port using a well known name, "jmxrmi"
  135. # - the following properties are read for JMX remote management.
  136. #
  137. # The configuration can be specified only at startup time.
  138. # Later changes to above system property (e.g. via setProperty method),
  139. # this config file, the password file, or the access file have no effect to the
  140. # running MBean server, the connector, or the registry.
  141. #
  142. #
  143. # ########## RMI connector settings for local management ##########
  144. #
  145. # com.sun.management.jmxremote.local.only=true|false
  146. # Default for this property is true. (Case for true/false ignored)
  147. # If this property is specified as true then the local JMX RMI connector
  148. # server will only accept connection requests from clients running on
  149. # the host where the out-of-the-box JMX management agent is running.
  150. # In order to ensure backwards compatibility this property could be
  151. # set to false. However, deploying the local management agent in this
  152. # way is discouraged because the local JMX RMI connector server will
  153. # accept connection requests from any client either local or remote.
  154. # For remote management the remote JMX RMI connector server should
  155. # be used instead with authentication and SSL/TLS encryption enabled.
  156. #
  157. # For allowing the local management agent accept local
  158. # and remote connection requests use the following line
  159. # com.sun.management.jmxremote.local.only=false
  160. #
  161. # ###################### RMI SSL #############################
  162. #
  163. # com.sun.management.jmxremote.ssl=true|false
  164. # Default for this property is true. (Case for true/false ignored)
  165. # If this property is specified as false then SSL is not used.
  166. #
  167. # For RMI monitoring without SSL use the following line
  168. # com.sun.management.jmxremote.ssl=false
  169. # com.sun.management.jmxremote.ssl.config.file=filepath
  170. # Specifies the location of the SSL configuration file. A properties
  171. # file can be used to supply the keystore and truststore location and
  172. # password settings thus avoiding to pass them as cleartext in the
  173. # command-line.
  174. #
  175. # The current implementation of the out-of-the-box management agent will
  176. # look up and use the properties specified below to configure the SSL
  177. # keystore and truststore, if present:
  178. # javax.net.ssl.keyStore=<keystore-location>
  179. # javax.net.ssl.keyStorePassword=<keystore-password>
  180. # javax.net.ssl.trustStore=<truststore-location>
  181. # javax.net.ssl.trustStorePassword=<truststore-password>
  182. # Any other properties in the file will be ignored. This will allow us
  183. # to extend the property set in the future if required by the default
  184. # SSL implementation.
  185. #
  186. # If the property "com.sun.management.jmxremote.ssl" is set to false,
  187. # then this property is ignored.
  188. #
  189. # For supplying the keystore settings in a file use the following line
  190. # com.sun.management.jmxremote.ssl.config.file=filepath
  191. # com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
  192. # The value of this property is a string that is a comma-separated list
  193. # of SSL/TLS cipher suites to enable. This property can be specified in
  194. # conjunction with the previous property "com.sun.management.jmxremote.ssl"
  195. # in order to control which particular SSL/TLS cipher suites are enabled
  196. # for use by accepted connections. If this property is not specified then
  197. # the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
  198. # are enabled by default.
  199. #
  200. # com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
  201. # The value of this property is a string that is a comma-separated list
  202. # of SSL/TLS protocol versions to enable. This property can be specified in
  203. # conjunction with the previous property "com.sun.management.jmxremote.ssl"
  204. # in order to control which particular SSL/TLS protocol versions are
  205. # enabled for use by accepted connections. If this property is not
  206. # specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
  207. # protocol versions that are enabled by default.
  208. #
  209. # com.sun.management.jmxremote.ssl.need.client.auth=true|false
  210. # Default for this property is false. (Case for true/false ignored)
  211. # If this property is specified as true in conjunction with the previous
  212. # property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
  213. # Socket Factory will require client authentication.
  214. #
  215. # For RMI monitoring with SSL client authentication use the following line
  216. # com.sun.management.jmxremote.ssl.need.client.auth=true
  217. # com.sun.management.jmxremote.registry.ssl=true|false
  218. # Default for this property is false. (Case for true/false ignored)
  219. # If this property is specified as true then the RMI registry used
  220. # to bind the RMIServer remote object is protected with SSL/TLS
  221. # RMI Socket Factories that can be configured with the properties:
  222. # com.sun.management.jmxremote.ssl.config.file
  223. # com.sun.management.jmxremote.ssl.enabled.cipher.suites
  224. # com.sun.management.jmxremote.ssl.enabled.protocols
  225. # com.sun.management.jmxremote.ssl.need.client.auth
  226. # If the two properties below are true at the same time, i.e.
  227. # com.sun.management.jmxremote.ssl=true
  228. # com.sun.management.jmxremote.registry.ssl=true
  229. # then the RMIServer remote object and the RMI registry are
  230. # both exported with the same SSL/TLS RMI Socket Factories.
  231. #
  232. # For using an SSL/TLS protected RMI registry use the following line
  233. # com.sun.management.jmxremote.registry.ssl=true
  234. #
  235. # ################ RMI User authentication ################
  236. #
  237. # com.sun.management.jmxremote.authenticate=true|false
  238. # Default for this property is true. (Case for true/false ignored)
  239. # If this property is specified as false then no authentication is
  240. # performed and all users are allowed all access.
  241. #
  242. # For RMI monitoring without any checking use the following line
  243. # com.sun.management.jmxremote.authenticate=false
  244. #
  245. # ################ RMI Login configuration ###################
  246. #
  247. # com.sun.management.jmxremote.login.config=<config-name>
  248. # Specifies the name of a JAAS login configuration entry to use when
  249. # authenticating users of RMI monitoring.
  250. #
  251. # Setting this property is optional - the default login configuration
  252. # specifies a file-based authentication that uses the password file.
  253. #
  254. # When using this property to override the default login configuration
  255. # then the named configuration entry must be in a file that gets loaded
  256. # by JAAS. In addition, the login module(s) specified in the configuration
  257. # should use the name and/or password callbacks to acquire the user's
  258. # credentials. See the NameCallback and PasswordCallback classes in the
  259. # javax.security.auth.callback package for more details.
  260. #
  261. # If the property "com.sun.management.jmxremote.authenticate" is set to
  262. # false, then this property and the password & access files are ignored.
  263. #
  264. # For a non-default login configuration use the following line
  265. # com.sun.management.jmxremote.login.config=<config-name>
  266. #
  267. # ################ RMI Password file location ##################
  268. #
  269. # com.sun.management.jmxremote.password.file=filepath
  270. # Specifies location for password file
  271. # This is optional - default location is
  272. # $JRE/lib/management/jmxremote.password
  273. #
  274. # If the property "com.sun.management.jmxremote.authenticate" is set to
  275. # false, then this property and the password & access files are ignored.
  276. # Otherwise the password file must exist and be in the valid format.
  277. # If the password file is empty or non-existent then no access is allowed.
  278. #
  279. # For a non-default password file location use the following line
  280. # com.sun.management.jmxremote.password.file=filepath
  281. #
  282. # ################ RMI Access file location #####################
  283. #
  284. # com.sun.management.jmxremote.access.file=filepath
  285. # Specifies location for access file
  286. # This is optional - default location is
  287. # $JRE/lib/management/jmxremote.access
  288. #
  289. # If the property "com.sun.management.jmxremote.authenticate" is set to
  290. # false, then this property and the password & access files are ignored.
  291. # Otherwise, the access file must exist and be in the valid format.
  292. # If the access file is empty or non-existent then no access is allowed.
  293. #
  294. # For a non-default password file location use the following line
  295. # com.sun.management.jmxremote.access.file=filepath
  296. #
  297. # ################ Management agent listen interface #########################
  298. #
  299. # com.sun.management.jmxremote.host=<host-or-interface-name>
  300. # Specifies the local interface on which the JMX RMI agent will bind.
  301. # This is useful when running on machines which have several
  302. # interfaces defined. It makes it possible to listen to a specific
  303. # subnet accessible through that interface.
  304. #
  305. # The format of the value for that property is any string accepted
  306. # by java.net.InetAddress.getByName(String).
  307. #