You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/06 07:57:00 UTC

[jira] [Updated] (CAMEL-16634) karaf - Errors installing Karaf features after camel-kafka installation

     [ https://issues.apache.org/jira/browse/CAMEL-16634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-16634:
--------------------------------
    Priority: Minor  (was: Major)

> karaf - Errors installing Karaf features after camel-kafka installation
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-16634
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16634
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf, osi
>    Affects Versions: 3.9.0
>            Reporter: Nicola Cisternino
>            Priority: Minor
>              Labels: camel, kafka, snappy
>             Fix For: 3.11.0
>
>
> After camel-kafka feature installation any other feature installation raise errors.
>  The problem seems to be the *snappy* feature (a camel-kafka requirement).
>  A workaround is to install the single bundles (of snappy and camel-kafka) extracted from xml feature file ([https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.9.0/apache-camel-3.9.0-features.xml])
>  The sequence to reproduce the problem, starting from a fresh *4.3.1 Karaf* installation, is:
> Apache Karaf (4.3.1)
> Hit '<tab>' for a list of available commands
>  and '[cmd] --help' for help on a specific command.
>  Hit 'system:shutdown' to shutdown Karaf.
>  Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
> karaf@root()> *feature:repo-add camel 3.9.0*
>  Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.9.0/xml/features
>  karaf@root()> *feature:install http webconsole camel camel-netty*
>  karaf@root()> *feature:install camel-kafka*
> karaf@root()> *feature:install camel-sql*
>  {color:#FF0000}Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=kar; type=karaf.feature; version="[4.3.1,4.3.1]"; filter:="(&(osgi.identity=kar)(type=karaf.feature)(version>=4.3.1)(version<=4.3.1))" [caused by: Unable to resolve kar/4.3.1: missing requirement [kar/4.3.1] osgi.identity; osgi.identity=org.apache.karaf.kar.core; type=osgi.bundle; version="[4.3.1,4.3.1]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.kar.core/4.3.1: missing requirement [org.apache.karaf.kar.core/4.3.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))"]]
>  karaf@root()>{color}
> {color:#172b4d}Please see:{color}
> {color:#172b4d}https://lists.apache.org/thread.html/r374d2d832fed818d44625829f086f002aaed7d70a5fea953c5551fe5%40%3Cusers.camel.apache.org%3E{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)