| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| |
| # The file contains default configuration for various framework settings. All |
| # settings configured here may be ammended or overwritten either using the |
| # FrameworkLauncherServlet.loadPropertiesOverride() method or web application |
| # initialization paramneters. |
| # |
| # Property values may contain references to other properties using the standard |
| # ${<prop-name>} syntax. |
| |
| # |
| # Default home directory ("sling"). It is expected for this property to be |
| # overwritten by the "sling.home" init-param of the web application. |
| sling.home = sling |
| |
| # |
| # Default sling.context. The name of the default sling.context to use in the |
| # sling application. This value is mainly used to create default configurations |
| # for factory services and will be used to set the "sling.context" configuration |
| # property of such generated configurations. |
| sling.context.default = default |
| |
| |
| # |
| ############################################################################### |
| ### |
| ### TEMPORARY FIX for URLStreamHandler issue - we simply disable |
| ### URLStreamHandler support in the framework. |
| ### |
| ### As soon as Felix has fixed issue http://issues.apache.org/jira/browse/FELIX-38 |
| ### this property must be removed again, to enable respective support |
| ### |
| ### Not setting this property or setting it to true would enable |
| ### URLStreamHandler support but prevent stopping/starting cycles of the |
| ### Sling Servlet in any servlet container. |
| ### |
| ### We set this here globally, to have the same behaviour of Sling regardless |
| ### being started standalone or as a web application. |
| ### |
| felix.service.urlhandlers = false |
| ############################################################################### |
| |
| |
| # |
| # List of packages to append to the org.osgi.framework.system.packages property |
| # NOTE: If this is set, it must start with a comma ! |
| # org.apache.sling.launcher.system.packages |
| |
| |
| # |
| # List of packages to append to the org.osgi.framework.bootdelegation property |
| # NOTE: If this is set, it must start with a comma ! |
| # org.apache.sling.launcher.bootdelegation |
| |
| |
| # |
| # Include properties to install additional assemblies such as CRX support |
| # Core Sling etc. |
| sling.include.install = sling_install.properties |
| |
| |
| # |
| # Default Logging Configuration (see org.apache.sling.commons.log Bundle documentation) |
| # org.apache.sling.commons.log.intialize = true |
| org.apache.sling.commons.log.level = INFO |
| org.apache.sling.commons.log.file = ${sling.home}/logs/error.log |
| org.apache.sling.commons.log.file.number = 5 |
| org.apache.sling.commons.log.file.size = 10mb |
| # org.apache.sling.commons.log.url = URL to logger configuration file |
| |
| # Logging configuration for the SCR (if installed) |
| ds.loglevel = ${org.apache.sling.commons.log.level} |
| |
| # |
| # Space separated list of URLs to the OSGi Bundle Repository files. If this |
| # is left empty, the default value of "http://oscar-osgi.sf.net/obr2/repository.xml" |
| # is assumed. |
| # (see org.apache.felix.bundlerepository Bundle documentation) |
| # obr.repository.url = http://some.host.com/path/repository.xml |
| |
| # |
| # Felix Configuration Admin File Persistence Configuration file directory |
| felix.cm.dir = ${sling.home}/config |
| |
| # |
| # Felix Framework profile directory. This is by default the "felix" directory |
| # below the application home directory. |
| felix.cache.profiledir = ${sling.home}/felix |
| |
| |
| # |
| # Default initial Framework start level |
| felix.startlevel.framework=30 |
| |
| |
| # |
| # Default start level for newly installed bundles not explicitly assigned |
| # a start level |
| felix.startlevel.bundle=20 |
| |
| |
| # |
| # Include JRE package list |
| sling.include.jre = jre-${java.specification.version}.properties |
| |
| |
| # |
| # Framework system packages to be visible |
| org.osgi.framework.system.packages= \ |
| ${osgi-core-packages}, \ |
| ${osgi-compendium-services}, \ |
| ${jre-${java.specification.version}} \ |
| ${org.apache.sling.launcher.system.packages} |
| |
| |
| # Boot delegation packages never included anywhere (usually sun.*,com.sun.*) |
| # We include com.yourkit here to allow profiling the servlet container in |
| # which the web app is running |
| # sun.* and/or com.sun.* may be included if there is code which - violating |
| # specs by Sun - directly calls into these packages. |
| # org.osgi.framework.bootdelegation=sun.*,com.sun.* |
| org.osgi.framework.bootdelegation=com.yourkit.* \ |
| ${org.apache.sling.launcher.bootdelegation} |
| |
| |
| # |
| # Package Specifications for org.osgi.framework.system.packages |
| # osgi-core-packages : OSGi Core Specification packages |
| # osgi-compendium-services : OSGi Compendium Specification packages |
| # |
| |
| |
| osgi-core-packages= \ |
| org.osgi.framework; version=1.3.0, \ |
| org.osgi.service.condpermadmin; version=1.0.0, \ |
| org.osgi.service.packageadmin; version=1.2.0, \ |
| org.osgi.service.permissionadmin; version=1.2.0, \ |
| org.osgi.service.startlevel; version=1.0.0, \ |
| org.osgi.service.url; version=1.0.0 |
| |
| osgi-compendium-services= \ |
| org.osgi.service.cm; version=1.2, \ |
| org.osgi.service.component; version=1.0, \ |
| org.osgi.service.device; version=1.1, \ |
| org.osgi.service.event; version=1.1, \ |
| org.osgi.service.http; version=1.2, \ |
| org.osgi.service.io; version=1.0, \ |
| org.osgi.service.log; version=1.3, \ |
| org.osgi.service.metatype; version=1.1, \ |
| org.osgi.service.prefs; version=1.1, \ |
| org.osgi.service.provisioning; version=1.1, \ |
| org.osgi.service.upnp; version=1.1, \ |
| org.osgi.service.useradmin; version=1.1, \ |
| org.osgi.service.wireadmin; version=1.0, \ |
| org.osgi.util.measurement; version=1.0, \ |
| org.osgi.util.position; version=1.0, \ |
| org.osgi.util.tracker; version=1.3.2, \ |
| org.osgi.util.xml; version=1.0 |