config.properties 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. # This file lists Karaf default settings for this particular version of Karaf.
  21. # For easier maintenance when upgrading Karaf and to better document which
  22. # default values have changed, it is recommended to place any changes to
  23. # these values in a custom.properties file in the same folder as this file.
  24. # Each value specified in custom.properties will override the default value
  25. # here.
  26. #
  27. #
  28. # Properties file inclusions (as a space separated list of relative paths)
  29. # Included files will override the values specified in this file
  30. # NB: ${includes} properties files are mandatory, it means that Karaf will not start
  31. # if the include file is not found
  32. #
  33. ${includes} = jre.properties custom.properties
  34. #
  35. # Properties file inclusions (as a space separated list of relative paths)
  36. # Included files will override the values specified in this file
  37. # NB: ${optionals} properties files are optionals, it means that Karaf will just
  38. # display a warning message but the bootstrap will be performed
  39. #
  40. # ${optionals} = my.properties
  41. #
  42. # Framework selection properties
  43. #
  44. karaf.framework=felix
  45. #
  46. # Location of the OSGi frameworks
  47. #
  48. karaf.framework.equinox=mvn\:org.eclipse.tycho/org.eclipse.osgi/3.10.101.v20150820-1432
  49. karaf.framework.felix=mvn\:org.apache.felix/org.apache.felix.framework/5.6.2
  50. #
  51. # Framework config properties.
  52. #
  53. org.osgi.framework.system.packages= \
  54. org.osgi.dto;version="1.0",\
  55. org.osgi.resource;version="1.0",\
  56. org.osgi.resource.dto;version="1.0";uses:="org.osgi.dto",\
  57. org.osgi.framework;version="1.8",\
  58. org.osgi.framework.dto;version="1.8";uses:="org.osgi.dto",\
  59. org.osgi.framework.hooks.bundle;version="1.1";uses:="org.osgi.framework",\
  60. org.osgi.framework.hooks.resolver;version="1.0";uses:="org.osgi.framework.wiring",\
  61. org.osgi.framework.hooks.service;version="1.1";uses:="org.osgi.framework",\
  62. org.osgi.framework.hooks.weaving;version="1.1";uses:="org.osgi.framework.wiring",\
  63. org.osgi.framework.launch;version="1.2";uses:="org.osgi.framework",\
  64. org.osgi.framework.namespace;version="1.1";uses:="org.osgi.resource",\
  65. org.osgi.framework.startlevel;version="1.0";uses:="org.osgi.framework",\
  66. org.osgi.framework.startlevel.dto;version="1.0";uses:="org.osgi.dto",\
  67. org.osgi.framework.wiring;version="1.2";uses:="org.osgi.framework,org.osgi.resource",\
  68. org.osgi.framework.wiring.dto;version="1.2";uses:="org.osgi.dto,org.osgi.resource.dto",\
  69. org.osgi.service.condpermadmin;version="1.1.1";uses:="org.osgi.framework,org.osgi.service.permissionadmin",\
  70. org.osgi.service.packageadmin;version="1.2";uses:="org.osgi.framework",org.osgi.service.permissionadmin;version="1.2",\
  71. org.osgi.service.resolver;version="1.0";uses:="org.osgi.resource",\
  72. org.osgi.service.startlevel;version="1.1";uses:="org.osgi.framework",\
  73. org.osgi.service.url;version="1.0",\
  74. org.osgi.util.tracker;version="1.5.1";uses:="org.osgi.framework",\
  75. org.apache.karaf.version;version="4.0.9",\
  76. org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version="4.0.9",\
  77. org.apache.karaf.jaas.boot;uses:="javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework";version="4.0.9",\
  78. ${jre-${java.specification.version}}
  79. #
  80. # Extra packages appended after standard packages
  81. #
  82. org.osgi.framework.system.packages.extra = \
  83. org.apache.karaf.branding, \
  84. org.apache.karaf.jaas.boot.principal, \
  85. org.apache.karaf.jaas.boot, \
  86. sun.misc, \
  87. org.apache.karaf.diagnostic.core;uses:=org.osgi.framework;version=4.0.9, \
  88. org.apache.karaf.diagnostic.core.common;uses:=org.apache.karaf.diagnostic.core;version=4.0.9, \
  89. org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version=4.0.9, \
  90. org.apache.karaf.jaas.boot;uses:=\"javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework\";version=4.0.9
  91. org.osgi.framework.system.capabilities= \
  92. ${eecap-${java.specification.version}}, \
  93. osgi.service;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \
  94. osgi.service;effective:=active;objectClass=org.osgi.service.resolver.Resolver, \
  95. osgi.service;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \
  96. osgi.service;effective:=active;objectClass=org.osgi.service.url.URLHandlers
  97. eecap-1.8= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
  98. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8"
  99. eecap-1.7= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
  100. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7"
  101. eecap-1.6= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
  102. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5,1.6"
  103. eecap-1.5= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
  104. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5"
  105. eecap-1.4= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
  106. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4"
  107. eecap-1.3= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1", \
  108. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3"
  109. eecap-1.2= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1", \
  110. osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2"
  111. #
  112. # javax.transaction is needed to avoid class loader constraint violation when using javax.sql
  113. #
  114. org.osgi.framework.bootdelegation = \
  115. com.sun.*, \
  116. javax.transaction, \
  117. javax.transaction.*, \
  118. javax.xml.crypto, \
  119. javax.xml.crypto.*, \
  120. sun.*, \
  121. org.apache.karaf.jaas.boot, \
  122. org.apache.karaf.jaas.boot.principal
  123. # jVisualVM support
  124. # in order to use Karaf with jvisualvm, the org.osgi.framework.bootdelegation property has to contain the org.netbeans.lib.profiler.server package
  125. # and, so, it should look like:
  126. #
  127. # org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,org.apache.karaf.jaas.boot.principal,sun.*,com.sun.*,javax.transaction,javax.transaction.*,javax.xml.crypto,javax.xml.crypto.*,org.apache.xerces.jaxp.datatype,org.apache.xerces.stax,org.apache.xerces.parsers,org.apache.xerces.jaxp,org.apache.xerces.jaxp.validation,org.apache.xerces.dom,org.netbeans.lib.profiler.server
  128. #
  129. # YourKit support
  130. # in order to use Karaf with YourKit, the org.osgi.framework.bootdelegation property has to contain the com.yourkit.* packages
  131. # and, so, it should look like:
  132. #
  133. # org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,org.apache.karaf.jaas.boot.principal,sun.*,com.sun.*,javax.transaction,javax.transaction.*,javax.xml.crypto,javax.xml.crypto.*,org.apache.xerces.jaxp.datatype,org.apache.xerces.stax,org.apache.xerces.parsers,org.apache.xerces.jaxp,org.apache.xerces.jaxp.validation,org.apache.xerces.dom,com.yourkit.*
  134. #
  135. #
  136. # OSGi Execution Environment
  137. #
  138. org.osgi.framework.executionenvironment=J2SE-1.7,JavaSE-1.7,J2SE-1.6,JavaSE-1.6,J2SE-1.5,JavaSE-1.5,J2SE-1.4,JavaSE-1.4,J2SE-1.3,JavaSE-1.3,J2SE-1.2,,JavaSE-1.2,CDC-1.1/Foundation-1.1,CDC-1.0/Foundation-1.0,J2ME,OSGi/Minimum-1.1,OSGi/Minimum-1.0
  139. #
  140. # Set the parent classloader for the bundle to the classloader that loads the Framework (i.e. everything in lib/*.jar)
  141. #
  142. org.osgi.framework.bundle.parent=framework
  143. #
  144. # Definition of the default bundle start level
  145. #
  146. org.osgi.framework.startlevel.beginning=100
  147. karaf.startlevel.bundle=80
  148. #
  149. # The location of the Karaf shutdown port file used to stop instance
  150. #
  151. karaf.shutdown.port.file=${karaf.data}/port
  152. #
  153. # The location of the Karaf pid file
  154. #
  155. karaf.pid.file=${karaf.base}/karaf.pid
  156. #
  157. # Configuration FileMonitor properties
  158. #
  159. felix.fileinstall.enableConfigSave = true
  160. felix.fileinstall.dir = ${karaf.etc}
  161. felix.fileinstall.filter = .*\\.cfg
  162. felix.fileinstall.poll = 1000
  163. felix.fileinstall.noInitialDelay = true
  164. felix.fileinstall.log.level = 3
  165. felix.fileinstall.log.default = jul
  166. # Use cached urls for bundle CodeSource to avoid
  167. # problems with JCE cached informations, see KARAF-3974
  168. felix.bundlecodesource.usecachedurls = true
  169. #
  170. # Delay for writing the framework state to disk in equinox
  171. # must be >= 1000 and <= 1800000
  172. #
  173. eclipse.stateSaveDelayInterval = 1000
  174. #
  175. # OBR Repository list
  176. # This property will be modified by the obr:addUrl and obr:removeUrl commands.
  177. #
  178. obr.repository.url =
  179. #
  180. # Start blueprint bundles synchronously when possible
  181. #
  182. org.apache.aries.blueprint.synchronous=true
  183. #
  184. # Do not weave all any classes by default
  185. #
  186. org.apache.aries.proxy.weaving.enabled=
  187. #
  188. # mvn url handler requires config instance configuration
  189. #
  190. org.ops4j.pax.url.mvn.requireConfigAdminConfig=true
  191. #
  192. # Don't delay the console startup. Set to true if you want the console to start after all other bundles
  193. #
  194. karaf.delay.console=false