Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10292

Can't install karaf features

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.3
    • fuse-7.3
    • Camel, Karaf
    • None
    • % %
    • Fuse 7.3 Sprint 42 - Bug fix

    Description

      feature:install command does not work for following features.

      [Feature openjpa3]
      [Feature camel-atmosphere-websocket]
      [Feature camel-atom]
      [Feature camel-aws]
      [Feature camel-base64]
      [Feature camel-box]
      [Feature camel-cm-sms]
      [Feature camel-cometd]
      [Feature camel-couchdb]
      [Feature camel-crypto]
      [Feature camel-crypto-cms]
      [Feature camel-digitalocean]
      [Feature camel-docker]
      [Feature camel-elasticsearch-rest]
      [Feature camel-fhir]
      [Feature camel-git]
      [Feature camel-github]
      [Feature camel-google-pubsub]
      [Feature camel-hipchat]
      [Feature camel-http4]
      [Feature camel-jetty]
      [Feature camel-jetty9]
      [Feature camel-linkedin]
      [Feature camel-olingo2]
      [Feature camel-olingo4]
      [Feature camel-restlet]
      [Feature camel-restlet-gson]
      [Feature camel-restlet-jackson]
      [Feature camel-rss]
      [Feature camel-salesforce]
      [Feature camel-slack]
      [Feature camel-smpp]
      [Feature camel-solr]
      [Feature camel-spark-rest]
      [Feature camel-spring-ws]
      [Feature camel-test-spring]
      [Feature camel-twilio]
      [Feature camel-urlrewrite]
      [Feature camel-websocket]
      [Feature camel-xmlsecurity]
      [Feature cxf-http-async]
      [Feature cxf-http-netty-server]
      [Feature cxf-jsr-json]
      [Feature cxf-rs-description-openapi-v3]
      [Feature hapi-fhir]
      [Feature hapi-fhir-client]
      [Feature hapi-fhir-dstu2]
      [Feature hapi-fhir-dstu2.1]
      [Feature hapi-fhir-dstu3]
      [Feature hapi-fhir-hl7org-dstu2]
      [Feature hapi-fhir-r4]
      [Feature hapi-fhir-utilities]
      [Feature hapi-fhir-validation]
      [Feature hapi-fhir-validation-dstu2]
      [Feature hapi-fhir-validation-dstu2.1]
      [Feature hapi-fhir-validation-dstu3]
      [Feature hapi-fhir-validation-hl7org-dstu2]
      [Feature hapi-fhir-validation-r4]
      [Feature hibernate]
      [Feature hibernate-envers]
      [Feature hibernate-infinispan]
      [Feature hibernate-orm]
      [Feature jclouds-all-compute]
      [Feature jclouds-api-docker]
      [Feature jclouds-azurecompute-arm]
      [Feature jclouds-driver-apachehc]
      [Feature jclouds-driver-okhttp]
      [Feature jetty]
      [Feature openjpa]
      [Feature pax-jms-oracleaq]
      [Feature spring-test]
      

      Example:

      karaf@root()> feature:install camel-atom
      org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-atom; type=karaf.feature; version="[2.21.0.fuse-730053,2.21.0.fuse-730053]"; filter:="(&(osgi.identity=camel-atom)(type=karaf.feature)(version>=2.21.0.fuse-730053)(version<=2.21.0.fuse-730053))" [caused by: Unable to resolve camel-atom/2.21.0.fuse-730053: missing requirement [camel-atom/2.21.0.fuse-730053] osgi.identity; osgi.identity=org.apache.camel.camel-atom; type=osgi.bundle; version="[2.21.0.fuse-730053,2.21.0.fuse-730053]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-atom/2.21.0.fuse-730053: missing requirement [org.apache.camel.camel-atom/2.21.0.fuse-730053] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.codec.binary)(version>=1.11.0)(!(version>=2.0.0)))"]]
      	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
      	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
      	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve camel-atom/2.21.0.fuse-730053: missing requirement [camel-atom/2.21.0.fuse-730053] osgi.identity; osgi.identity=org.apache.camel.camel-atom; type=osgi.bundle; version="[2.21.0.fuse-730053,2.21.0.fuse-730053]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-atom/2.21.0.fuse-730053: missing requirement [org.apache.camel.camel-atom/2.21.0.fuse-730053] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.codec.binary)(version>=1.11.0)(!(version>=2.0.0)))"]
      	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
      	... 12 more
      Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.camel.camel-atom/2.21.0.fuse-730053: missing requirement [org.apache.camel.camel-atom/2.21.0.fuse-730053] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.codec.binary)(version>=1.11.0)(!(version>=2.0.0)))"
      	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
      	... 13 more
      Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-atom; type=karaf.feature; version="[2.21.0.fuse-730053,2.21.0.fuse-730053]"; filter:="(&(osgi.identity=camel-atom)(type=karaf.feature)(version>=2.21.0.fuse-730053)(version<=2.21.0.fuse-730053))" [caused by: Unable to resolve camel-atom/2.21.0.fuse-730053: missing requirement [camel-atom/2.21.0.fuse-730053] osgi.identity; osgi.identity=org.apache.camel.camel-atom; type=osgi.bundle; version="[2.21.0.fuse-730053,2.21.0.fuse-730053]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-atom/2.21.0.fuse-730053: missing requirement [org.apache.camel.camel-atom/2.21.0.fuse-730053] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.codec.binary)(version>=1.11.0)(!(version>=2.0.0)))"]]
      

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            jbouska@redhat.com Jan Bouska
            Vratislav Hais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: