Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DC1D9200B80 for ; Wed, 14 Sep 2016 13:36:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DAA91160ABA; Wed, 14 Sep 2016 11:36:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C94C160AB4 for ; Wed, 14 Sep 2016 13:36:22 +0200 (CEST) Received: (qmail 79656 invoked by uid 500); 14 Sep 2016 11:36:21 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 79638 invoked by uid 99); 14 Sep 2016 11:36:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 11:36:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3EE172C0D56 for ; Wed, 14 Sep 2016 11:36:21 +0000 (UTC) Date: Wed, 14 Sep 2016 11:36:21 +0000 (UTC) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DOSGI-155) Felix Multi-Bundle distro should not set org.osgi.framework.system.packages property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 14 Sep 2016 11:36:23 -0000 [ https://issues.apache.org/jira/browse/DOSGI-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider reassigned DOSGI-155: ----------------------------------------- Assignee: Christian Schneider > Felix Multi-Bundle distro should not set org.osgi.framework.system.packages property > ------------------------------------------------------------------------------------ > > Key: DOSGI-155 > URL: https://issues.apache.org/jira/browse/DOSGI-155 > Project: CXF Distributed OSGi > Issue Type: Bug > Components: Product > Affects Versions: 1.4.0 > Reporter: David Bosschaert > Assignee: Christian Schneider > Priority: Minor > > The multi-bundle distribution contains 2 felix configuration files: > * conf/felix.config.properties.append > * conf/felix.discovery.config.properties.append > Both these files specify the *org.osgi.framework.system.packages* framework property: > {noformat}org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \ > org.osgi.framework.launch; version=1.0.0, \ > org.osgi.framework.hooks.service; version=1.0.0, \ > org.osgi.service.packageadmin; version=1.2.0, \ > org.osgi.service.startlevel; version=1.1.0, \ > org.osgi.service.url; version=1.0.0, \ > org.osgi.util.tracker; version=1.4.0, \ > org.apache.karaf.jaas.boot; version=2.2.9, \ > org.apache.karaf.version; version=2.2.9, \ > javax.crypto, \ > javax.crypto.spec, \ > {noformat} > and so on... > This property should really be left specified by the framework itself as its value will depend on the version of the OSGi framework and the Java runtime used. The values specified are very likely incorrect in a number of cases (for example if you use the latest version of Felix, the org.osgi.* values are incomplete and the versions incorrect). > It looks like the main thing here is to add the *org.apache.karaf* packages to the framework packages. This should really be done via the *org.osgi.framework.system.packages.extra* property, without specifying any of the packages provided by the framework or the JRE. E.g. > {noformat}org.osgi.framework.system.packages.extra=\ > org.apache.karaf.jaas.boot; version=2.2.9, \ > org.apache.karaf.version; version=2.2.9{noformat} > I briefly tried this but it seems there is an issue with resolving the javax.xml.stream package, and I noticed that in the current configuration it was actually removed from the list. > So in order to fix this situation some work will need to be done make sure that the default value of the *org.osgi.framework.system.packages* property will work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)