system.properties 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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 defined in this file will be made available through system
  21. # properties at the very beginning of the Karaf's boot process.
  22. #
  23. # Log level when the pax-logging service is not available
  24. # This level will only be used while the pax-logging service bundle
  25. # is not fully available.
  26. # To change log levels, please refer to the org.ops4j.pax.logging.cfg file
  27. # instead.
  28. org.ops4j.pax.logging.DefaultServiceLog.level = ERROR
  29. #
  30. # Name of this Karaf instance.
  31. #
  32. karaf.name = root
  33. #
  34. # Default repository where bundles will be loaded from before using
  35. # other Maven repositories. For the full Maven configuration, see
  36. # the org.ops4j.pax.url.mvn.cfg file.
  37. #
  38. karaf.default.repository = system
  39. #
  40. # Location of a shell script that will be run when starting a shell
  41. # session. This script can be used to create aliases and define
  42. # additional commands.
  43. #
  44. karaf.shell.init.script = ${karaf.etc}/shell.init.script
  45. #
  46. # Sets the maximum size of the shell command history. If not set,
  47. # defaults to 500 entries. Setting to 0 will disable history.
  48. #
  49. # karaf.shell.history.maxSize = 0
  50. #
  51. # Deletes the entire karaf.data directory at every start
  52. #
  53. karaf.clean.all = false
  54. #
  55. # Deletes the karaf.data/cache directory at every start
  56. #
  57. karaf.clean.cache = false
  58. #
  59. # User name for the Karaf local console
  60. #
  61. karaf.local.user = karaf
  62. #
  63. # Roles to use when for the default user in the local Karaf console.
  64. #
  65. # The syntax is the following:
  66. # [classname:]principal
  67. # where classname is the class name of the principal object
  68. # (defaults to org.apache.karaf.jaas.modules.RolePrincipal)
  69. # and principal is the name of the principal of that class
  70. # (defaults to instance).
  71. #
  72. karaf.local.roles = admin,manager,viewer,systembundles
  73. #
  74. # Set this empty property to avoid errors when validating xml documents.
  75. #
  76. xml.catalog.files =
  77. #
  78. # Suppress the bell in the console when hitting backspace too many times
  79. # for example
  80. #
  81. jline.nobell = true
  82. #
  83. # ServiceMix specs options
  84. #
  85. org.apache.servicemix.specs.debug = false
  86. org.apache.servicemix.specs.timeout = 0
  87. #
  88. # Settings for the OSGi 4.3 Weaving
  89. # By default, we will not weave any classes. Change this setting to include classes
  90. # that you application needs to have woven.
  91. #
  92. org.apache.aries.proxy.weaving.enabled = none
  93. # Classes not to weave - Aries default + Xerces which is known to have issues.
  94. org.apache.aries.proxy.weaving.disabled = org.objectweb.asm.*,org.slf4j.*,org.apache.log4j.*,javax.*,org.apache.xerces.*
  95. #
  96. # By default, only Karaf shell commands are secured, but additional services can be
  97. # secured by expanding this filter
  98. #
  99. karaf.secured.services = (&(osgi.command.scope=*)(osgi.command.function=*))
  100. #
  101. # By default, if there's no ACL policy for a certain karaf command, this command is allowed to access
  102. # without the RBAC. We can change this behavior by enable the following property, which means
  103. # if a karaf command has no corresponding ACL then access it must have one of the karaf.secured.command.compulsory.roles
  104. #
  105. #karaf.secured.command.compulsory.roles=admin
  106. #
  107. # Security properties
  108. #
  109. # To enable OSGi security, uncomment the properties below,
  110. # install the framework-security feature and restart.
  111. #
  112. #java.security.policy=${karaf.etc}/all.policy
  113. #org.osgi.framework.security=osgi
  114. #org.osgi.framework.trust.repositories=${karaf.etc}/trustStore.ks
  115. #
  116. # HA/Lock configuration
  117. #
  118. # Karaf uses a lock mechanism to know which instance is the master (HA)
  119. # The lock can be on the filesystem (default) or on a database.
  120. #
  121. # See http://karaf.apache.org/manual/latest/users-guide/failover.html for details.
  122. #
  123. # Even using a single instance, Karaf creates the lock file
  124. # You can specify the location of the lock file using the
  125. # karaf.lock.dir=/path/to/the/directory/containing/the/lock
  126. #
  127. # By default, the slave instances start but are passive.
  128. # If you want to prevent the slave instances startup, you can use
  129. # the karaf.lock.slave.block property (false by default):
  130. # karaf.lock.slave.block=true