Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16634

karaf - Errors installing Karaf features after camel-kafka installation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.9.0
    • 3.11.0
    • karaf
    • Unknown

    Description

      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
      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()>

      Please see:

      https://lists.apache.org/thread.html/r374d2d832fed818d44625829f086f002aaed7d70a5fea953c5551fe5%40%3Cusers.camel.apache.org%3E

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            ncisternino Nicola Cisternino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: