e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Licensed to the Apache Software Foundation (ASF) under one
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# or more contributor license agreements. See the NOTICE file
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# distributed with this work for additional information
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# regarding copyright ownership. The ASF licenses this file
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# to you under the Apache License, Version 2.0 (the
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# "License"); you may not use this file except in compliance
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# with the License. You may obtain a copy of the License at
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# http://www.apache.org/licenses/LICENSE-2.0
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Unless required by applicable law or agreed to in writing,
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# software distributed under the License is distributed on an
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# KIND, either express or implied. See the License for the
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# specific language governing permissions and limitations
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# under the License.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Framework config properties.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# To override the packages the framework exports by default from the
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# class path, set this variable.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#org.osgi.framework.system.packages=
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# To append packages to the default set of exported system packages,
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# set this value.
1990e93de14b0ff1be54dea2de71a64d0287dec8Alin Briciorg.osgi.framework.system.packages.extra=sun.misc,org.forgerock.commons.launcher
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# The following property makes specified packages from the class path
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# available to all bundles. You should avoid using this property.
70c8f08bcc7bad7fef38afbba897e820460ff96dJason Lemayorg.osgi.framework.bootdelegation=sun.*,com.sun.*,apple.*,com.apple.*,javax.net.ssl
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Felix tries to guess when to implicitly boot delegate in certain
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# situations to ease integration without outside code. This feature
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# is enabled by default, uncomment the following line to disable it.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#felix.bootdelegation.implicit=false
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# The following property explicitly specifies the location of the bundle
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# cache, which defaults to "felix-cache" in the current working directory.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# If this value is not absolute, then the felix.cache.rootdir controls
f2f8138695e157f9ce4a11fa2f93d7d44a36d243Laszlo Hordos# how the absolute location is calculated. (See buildNext property)
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#org.osgi.framework.storage=${felix.cache.rootdir}/felix-cache
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# The following property is used to convert a relative bundle cache
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# location into an absolute one by specifying the root to prepend to
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# the relative cache path. The default for this property is the
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# current working directory.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#felix.cache.rootdir=${user.dir}
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# The following property controls whether the bundle cache is flushed
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# the first time the framework is initialized. Possible values are
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# "none" and "onFirstInit"; the default is "none".
1990e93de14b0ff1be54dea2de71a64d0287dec8Alin Briciorg.osgi.framework.storage.clean=onFirstInit
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# framework.service.urlhandlers - specifies whether or not to activate the URL Handlers
f2f8138695e157f9ce4a11fa2f93d7d44a36d243Laszlo Hordos# service for the framework newBuilder; the default value is "true",
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# which results in the URL.setURLStreamHandlerFactory() and
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# URLConnection.setContentHandlerFactory() being called.
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# felix.log.level - specifies an integer String whose value indicates the degree of
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# logging reported by the framework; the default value is "1" and "0" turns off logging completely,
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos# otherwise log levels match those specified in the OSGi Log Service
8d1791bef30ee93b0616a90971b348dd808a74eaLaszlo Hordos# (i.e., 1 = error, 2 = warning, 3 = information, and 4 = debug).
ee62c64ead29d0f9db8846e4a137b4e928245fd4Andi Egloff# We log osgi entries via a log listener, and hence default the internal logging service logging to off
ee62c64ead29d0f9db8846e4a137b4e928245fd4Andi Eglofffelix.log.level=0
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Sets the initial start level of the framework upon startup.
d2f952a00b334781659435acb1f084d1e564294bAndi Eglofforg.osgi.framework.startlevel.beginning=12
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Sets the start level of newly installed bundles.
7eb845c4ebff52285787cca49968a4637146e6c4Andi Eglofffelix.startlevel.bundle=10
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Felix installs a stream and content handler factories by default,
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# uncomment the following line to not install them.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#felix.service.urlhandlers=false
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# The launcher registers a shutdown hook to cleanly stop the framework
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# by default, uncomment the following line to disable it.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#felix.shutdown.hook=false
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff# Bundle config properties.
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff#
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloff
e13366e235a3af3029b751bc89f419ec1615fe30Andi Egloffobr.repository.url=http://felix.apache.org/obr/releases.xml
f572d33ed141953335fe796ca36d818146af68efLaszlo Hordos
dedea1c74ef770604ee181088cedc7bd891486baAndi Egloff# Configures the web embedded Web server via the following file
660a40ad15749d74efa0dd4ef12cb8781c570e22Laszlo Hordosorg.ops4j.pax.web.config.file=&{launcher.project.location}/conf/jetty.xml
35a69e16f6cf17f17cf311efec806bda5e89ff2fLaszlo Hordos
f63afaeefa07a6ef3d2c14b97828d5fa5cc33fadJason Lemay# Enable pax web http/https services to enable jetty
f63afaeefa07a6ef3d2c14b97828d5fa5cc33fadJason Lemayorg.osgi.service.http.enabled=true
f63afaeefa07a6ef3d2c14b97828d5fa5cc33fadJason Lemayorg.osgi.service.http.secure.enabled=true
f63afaeefa07a6ef3d2c14b97828d5fa5cc33fadJason Lemay
f2f8138695e157f9ce4a11fa2f93d7d44a36d243Laszlo Hordos# https://issues.apache.org/jira/browse/FELIX-2526
f2f8138695e157f9ce4a11fa2f93d7d44a36d243Laszlo Hordosds.ctworkaround=true
f2f8138695e157f9ce4a11fa2f93d7d44a36d243Laszlo Hordos
dedea1c74ef770604ee181088cedc7bd891486baAndi Egloff# Disable the file configuration uncomment these options and enable the bootstrap in the system.properties.
d0ffcfdbe57afaf2adba4ef3134ba519c3e2b05fAndi Egloff#felix.fileinstall.disableConfigSave=false