org.apache.karaf.management.cfg 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. ################################################################################
  2. #
  3. # Licensed to the Apache Software Foundation (ASF) under one or more
  4. # contributor license agreements. See the NOTICE file distributed with
  5. # this work for additional information regarding copyright ownership.
  6. # The ASF licenses this file to You under the Apache License, Version 2.0
  7. # (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. #
  18. ################################################################################
  19. #
  20. # The properties in this file define the configuration of Apache Karaf's JMX Management
  21. #
  22. #
  23. # Port number for RMI registry connection
  24. #
  25. rmiRegistryPort = 1099
  26. #
  27. # Host for RMI registry
  28. #
  29. rmiRegistryHost = 0.0.0.0
  30. #
  31. # Port number for RMI server connection
  32. #
  33. rmiServerPort = 44444
  34. #
  35. # Host for RMI server
  36. #
  37. rmiServerHost = 0.0.0.0
  38. #
  39. # Name of the JAAS realm used for authentication
  40. #
  41. jmxRealm = karaf
  42. #
  43. # The service URL for the JMXConnectorServer
  44. #
  45. serviceUrl = service:jmx:rmi://${rmiServerHost}:${rmiServerPort}/jndi/rmi://${rmiRegistryHost}:${rmiRegistryPort}/karaf-${karaf.name}
  46. #
  47. # Whether any threads started for the JMXConnectorServer should be started as daemon threads
  48. #
  49. daemon = true
  50. #
  51. # Whether the JMXConnectorServer should be started in a separate thread
  52. #
  53. threaded = true
  54. #
  55. # The ObjectName used to register the JMXConnectorServer
  56. #
  57. objectName = connector:name=rmi
  58. #
  59. # Timeout to lookup for the keystore in case of SSL authentication usage
  60. #
  61. #keyStoreAvailabilityTimeout = 5000
  62. #
  63. # The type of authentication
  64. #
  65. #authenticatorType = password
  66. #
  67. # Enable or not SSL/TLS
  68. #
  69. #secured = false
  70. #
  71. # Secure algorithm to use
  72. #
  73. #secureAlgorithm = default
  74. #
  75. # Secure protocol to use
  76. #
  77. #secureProtocol = TLS
  78. #
  79. # Keystore to use for secure mode
  80. #
  81. #keyStore = karaf.ks
  82. #
  83. # Alias of the key to use in the keystore
  84. #
  85. #keyAlias = karaf
  86. #
  87. # Truststore to use for secure mode
  88. #
  89. #trustStore = karaf.ts
  90. #
  91. # Create the JMX RMI registry
  92. #
  93. #createRmiRegistry = true
  94. #
  95. # Locate the JMX RMI registry
  96. #
  97. #locateRmiRegistry = true
  98. #
  99. # Locate an existing MBean server if possible (usefull when Karaf is embedded)
  100. #
  101. #locateExistingMBeanServerIfPossible = true