X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fdistribution%2Fopendaylight-karaf-resources%2Fsrc%2Fmain%2Fresources%2Fetc%2Fcustom.properties;h=c2ac77a5d6f57b3ba24a581a700dead2fcc8a377;hp=e9a6992521250d612c1924e4f0fa46548f63d741;hb=cd86c941e538d7ff07d40072023c4b77d31d60fa;hpb=16b547fe4a083171484de9852926cc73f9705aa2 diff --git a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties index e9a6992521..c2ac77a5d6 100644 --- a/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties +++ b/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources/etc/custom.properties @@ -1,6 +1,20 @@ # Extra packages to import from the boot class loader org.osgi.framework.system.packages.extra=org.apache.karaf.branding,sun.reflect,sun.reflect.misc,sun.misc,sun.nio.ch +# Override the config.properties to remove +# ${services-${karaf.framework}} +# This is to work around: +# https://issues.apache.org/jira/browse/KARAF-3092 +# Which should be fixed in karaf 3.0.2 +# Which is not as of today (2014-08-24) released. +# Since it is biting folks, we need to fix it here +# Please remove this when we shift to karaf 3.0.2 +org.osgi.framework.system.capabilities= \ + ${eecap-${java.specification.version}}, \ + service-reference;effective:=active;objectClass=org.osgi.service.packageadmin.PackageAdmin, \ + service-reference;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \ + service-reference;effective:=active;objectClass=org.osgi.service.url.URLHandlers + # https://bugs.eclipse.org/bugs/show_bug.cgi?id=325578 # Extend the framework to avoid the resources to be presented with # a URL of type bundleresource: but to be presented as file: @@ -105,3 +119,4 @@ java.util.logging.config.file=configuration/tomcat-logging.properties #Hosttracker hostsdb key scheme setting hosttracker.keyscheme=IP +