config.properties revision 35a69e16f6cf17f17cf311efec806bda5e89ff2f
230N/A# Licensed to the Apache Software Foundation (ASF) under one
230N/A# or more contributor license agreements. See the NOTICE file
230N/A# distributed with this work for additional information
230N/A# regarding copyright ownership. The ASF licenses this file
230N/A# to you under the Apache License, Version 2.0 (the
230N/A# "License"); you may not use this file except in compliance
230N/A# with the License. You may obtain a copy of the License at
230N/A#
230N/A# http://www.apache.org/licenses/LICENSE-2.0
230N/A#
230N/A# Unless required by applicable law or agreed to in writing,
230N/A# software distributed under the License is distributed on an
230N/A# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
230N/A# KIND, either express or implied. See the License for the
230N/A# specific language governing permissions and limitations
230N/A# under the License.
230N/A
230N/A#
230N/A# Framework config properties.
230N/A#
230N/A
1639N/A# To override the packages the framework exports by default from the
230N/A# class path, set this variable.
230N/A#org.osgi.framework.system.packages=
230N/A
230N/A# To append packages to the default set of exported system packages,
230N/A# set this value.
758N/A# org.osgi.framework.system.packages.extra
230N/A
230N/A# The following property makes specified packages from the class path
844N/A# available to all bundles. You should avoid using this property.
844N/Aorg.osgi.framework.bootdelegation=sun.*,com.sun.*,apple.*,com.apple.*
230N/A
618N/A# Felix tries to guess when to implicitly boot delegate in certain
1258N/A# situations to ease integration without outside code. This feature
230N/A# is enabled by default, uncomment the following line to disable it.
230N/A#felix.bootdelegation.implicit=false
230N/A
230N/A# The following property explicitly specifies the location of the bundle
230N/A# cache, which defaults to "felix-cache" in the current working directory.
230N/A# If this value is not absolute, then the felix.cache.rootdir controls
230N/A# how the absolute location is calculated. (See next property)
230N/A#org.osgi.framework.storage=${felix.cache.rootdir}/felix-cache
230N/A
230N/A# The following property is used to convert a relative bundle cache
230N/A# location into an absolute one by specifying the root to prepend to
230N/A# the relative cache path. The default for this property is the
230N/A# current working directory.
230N/A#felix.cache.rootdir=${user.dir}
230N/A
230N/A# The following property controls whether the bundle cache is flushed
230N/A# the first time the framework is initialized. Possible values are
230N/A# "none" and "onFirstInit"; the default is "none".
230N/A#org.osgi.framework.storage.clean=onFirstInit
230N/A
230N/A# framework.service.urlhandlers - specifies whether or not to activate the URL Handlers
230N/A# service for the framework instance; the default value is "true",
230N/A# which results in the URL.setURLStreamHandlerFactory() and
230N/A# URLConnection.setContentHandlerFactory() being called.
230N/A
230N/A
230N/A# The following property determines which actions are performed when
230N/A# processing the auto-deploy directory. It is a comma-delimited list of
230N/A# the following values: 'install', 'start', 'update', and 'uninstall'.
230N/A# An undefined or blank value is equivalent to disabling auto-deploy
230N/A# processing.
230N/Afelix.auto.deploy.action=install,start
230N/A
230N/A# The following property specifies the directory to use as the bundle
230N/A# auto-deploy directory; the default is 'bundle' in the working directory.
230N/A#felix.auto.deploy.dir=bundle
230N/A
230N/A# The following property is a space-delimited list of bundle URLs
230N/A# to install when the framework starts. The ending numerical component
230N/A# is the target start level. Any number of these properties may be
230N/A# specified for different start levels.
230N/A#felix.auto.install.1=
230N/A
230N/A# felix.log.logger - specifies an instance of org.apache.felix.framework.util.Logger
230N/A# that the framework uses as its default logger.
230N/A
230N/A# The following property is a space-delimited list of bundle URLs
230N/A# to install and start when the framework starts. The ending numerical
230N/A# component is the target start level. Any number of these properties
230N/A# may be specified for different start levels.
230N/A#felix.auto.start.1=
230N/A
230N/A# felix.log.level - specifies an integer String whose value indicates the degree of
230N/A# logging reported by the framework; the default value is "1" and "0" turns off logging completely,
230N/A# otherwise log levels match those specified in the OSGi Log Service
230N/A# (i.e., 1 = error, 2 = warning, 3 = information, and 4 = debug).
230N/Afelix.log.level=1
230N/A
230N/A# Sets the initial start level of the framework upon startup.
230N/A#org.osgi.framework.startlevel.beginning=1
230N/A
230N/A# Sets the start level of newly installed bundles.
230N/A#felix.startlevel.bundle=1
230N/A
230N/A# Felix installs a stream and content handler factories by default,
230N/A# uncomment the following line to not install them.
230N/A#felix.service.urlhandlers=false
230N/A
230N/A# The launcher registers a shutdown hook to cleanly stop the framework
230N/A# by default, uncomment the following line to disable it.
230N/A#felix.shutdown.hook=false
230N/A
230N/A#
1639N/A# Bundle config properties.
1639N/A#
230N/A
230N/A# Allow dynamic system configuration via .cfg files
230N/A#felix.fileinstall.dir=./conf
230N/A#felix.fileinstall.filter=.*\\.cfg|repo.*\\.json
230N/A#felix.fileinstall.bundles.new.start=false
230N/A#felix.fileinstall.log.level=4
230N/A#felix.fileinstall.debug=1
230N/A
230N/Aobr.repository.url=http://felix.apache.org/obr/releases.xml
230N/A
230N/A# configures the Web Console to use SSL
230N/A#
230N/A#Pax Web supports SSL (https) via Jetty built in SSL support
230N/A# @SeeAlso: https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-api/src/main/java/org/ops4j/pax/web/service/WebContainerConstants.java
#To enable SSL support you must set the following properties:
org.osgi.service.http.secure.enabled=false
#To change the port. Default is 8443.
org.osgi.service.http.port.secure=8181
#To the path to the keystore to be used. If not set the default path ${user.home}/.keystore is used.
org.ops4j.pax.web.ssl.keystore=samples/keystore.jceks
org.ops4j.pax.web.ssl.keystore.type=JCEKS
#To the password used for keystore integrity check.
#The value can be in plain text or obfuscated ( starting with OBF: ) as described in step 4 of jetty docummentation
org.ops4j.pax.web.ssl.password=changeit
#To the password used for keystore. This can protect passwords from casual observation.
#Passwords can be obfuscated by running org.mortbay.jetty.security.Password as a main class.
org.ops4j.pax.web.ssl.keypassword=changeit
org.osgi.service.http.enabled=true
org.osgi.service.http.port=8080
#This property specifies, if certificate-based client authentication at the server is "wanted".
org.ops4j.pax.web.ssl.clientauthwanted=true
#This property specifies, if certificate-based client authentication at the server is "required".
#org.ops4j.pax.web.ssl.clientauthneeded=true