# # 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 # ${} 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 # # The name of the JCR repository. Default is "jackrabbit". # sling.repository.name = # # The JCR repository home directory. Default is sling.home/sling.repository.name. # sling.repository.home = # # The JCR repository url config file (repository.xml). Default is repository.xml in # bundle Embedded JCR Repository # sling.repository.config.file.url = # # Policy for the bundle parent classloaders used for boot delegation # Possible values: # - boot -- Bootclass Loader; essentially same as "app" (default) # - ext -- Extension Classloader; parent of "app" # - app -- ClassLoader.getSystemClassLoader() # - framework -- Classloader loading the OSGi Framework classes org.osgi.framework.bundle.parent = framework # # 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 JCR 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 = '.'yyyy-MM-dd # # To enable the current server side debugging in the Rhino interpreter # set the org.apache.sling.scripting.javascript.debug property to true. # This will open a Swing window for Rhino JavaScript debugging on the # server platform. Not setting this property or setting it to anything # but true will disable this server-side debugger. # org.apache.sling.scripting.javascript.debug = false # Logging configuration for the SCR (if installed) ds.loglevel = ${org.apache.sling.commons.log.level} # Some Sling bundles depend on the non-standard functionality of Apache Felix # SCR to create component factory instances based on factory configurations # so we have to set the ds.factory.enabled property for the upcoming Apache # Felix SCR release (and current 1.0.9-SNAPSHOT builds) to support this. # see SLING-1136 for more details and references ds.factory.enabled = true # # Space separated list of URLs to the OSGi Bundle Repository files. # The referred to repository contains referrals to other repositories # like the Apache Sling releases and the Apache Felix releases repositories obr.repository.url = http://sling.apache.org/obr/repository.xml # # Felix Configuration Admin File Persistence Configuration file directory felix.cm.dir = ${sling.home}/config # # Sling Installer file directory sling.installer.dir = ${sling.home}/installer # # Felix Framework profile directory. This is by default the "felix" directory # below the application home directory. org.osgi.framework.storage = ${sling.home}/felix # # Default initial Framework start level org.osgi.framework.startlevel.beginning=30 # # Default start level for newly installed bundles not explicitly assigned # a start level felix.startlevel.bundle=20 # Enable Felix URL handlers (see SLING-862) felix.service.urlhandlers=true # # 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}, \ org.apache.sling.launchpad.api;version=1.0.0, \ ${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} # # SLING-1925: boot delegate sun.reflect package sling.bootdelegation.sun.reflect = sun.reflect # # Package Specifications for org.osgi.framework.system.packages # osgi-core-packages : OSGi Core Specification packages # osgi-compendium-services : OSGi Compendium Specification packages # # Note: These properties are actually prefixed with "sling." and are renamed # to their correct equivalen (without the "sling." prefix) when loading # the properties to launch the framework. This is done to be able to # overwrite the values from the sling.properties file in case of an # OSGi API update. # Only provide the OSGi packages contained in the Felix framework itself sling.osgi-core-packages= \ org.osgi.framework; version=1.5, \ org.osgi.framework.hooks.service; version=1.0, \ org.osgi.framework.launch; version=1.0, \ org.osgi.service.packageadmin; version=1.2, \ org.osgi.service.startlevel; version=1.1, \ org.osgi.service.url; version=1.0 # Only provide the tracker (from the felix framework) sling.osgi-compendium-services= \ org.osgi.util.tracker;version="1.4"