You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/10/13 06:34:00 UTC
[jira] [Assigned] (KARAF-7526) Cellar does not work with Karaf 4.3
[ https://issues.apache.org/jira/browse/KARAF-7526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-7526:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> Cellar does not work with Karaf 4.3
> -----------------------------------
>
> Key: KARAF-7526
> URL: https://issues.apache.org/jira/browse/KARAF-7526
> Project: Karaf
> Issue Type: Bug
> Components: cellar
> Affects Versions: cellar-4.2.1
> Reporter: Nicolas Dutertry
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> When installing cellar feature with Karaf 4.3.7, the bundle org.apache.karaf.cellar.config is not installed. Thus configuration synchronization does not work.
> {code:java}
> karaf@root()> feature:repo-add cellar
> Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/RELEASE/xml/features
> karaf@root()> feature:install cellar
> karaf@root()> list -t 0 -u | grep cellar
> 60 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.bundle/4.2.1
> 61 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.core/4.2.1
> 62 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.features/4.2.1
> 63 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.hazelcast/4.2.1
> 64 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.kar/4.2.1
> 65 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.shell/4.2.1
> 66 | Active | 80 | 4.2.1 | mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.utils/4.2.1
> karaf@root()> {code}
> Trying to install the bundle manually generates the following error :
> {code:java}
> karaf@root()> bundle:install -s mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/4.2.1
> Bundle ID: 77
> Error executing command: Error installing bundles:
> Unable to start bundle mvn:org.apache.karaf.cellar/org.apache.karaf.cellar.config/4.2.1: org.osgi.framework.BundleException: Unable to resolve org.apache.karaf.cellar.config [77](R 77.0): missing requirement [org.apache.karaf.cellar.config [77](R 77.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=1.9.0))) Unresolved requirements: [[org.apache.karaf.cellar.config [77](R 77.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=1.9.0)))]{code}
> The bundle requires org.osgi.framework version 1.8, but Karaf 4.3 provides version 1.9.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)