Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-915

KAR deployment failed in the features XML is not the first entry of the KAR archive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      If the KAR first entry is a bundle (especially a blueprint one), the KAR deployer doesn't read the features XML and keep stuck on the KAR deployment:

      2011-10-05 15:22:20,734 | INFO | -SNAPSHOT/deploy | KarArtifactInstaller | eployer.kar.KarArtifactInstaller 283 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Found a .kar file to deploy.
      2011-10-05 15:22:20,735 | INFO | -SNAPSHOT/deploy | KarArtifactInstaller | eployer.kar.KarArtifactInstaller 90 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Installing /home/jbonofre/workspace/karaf/karaf/assemblies/apache-karaf/target/apache-karaf-2.2.4-SNAPSHOT/deploy/my.kar
      2011-10-05 15:22:20,737 | DEBUG | -SNAPSHOT/deploy | KarArtifactInstaller | eployer.kar.KarArtifactInstaller 101 | 34 - org.apache.karaf.deployer.kar - 2.2.4.SNAPSHOT | Kar entry my/my-bundle/0.1/my-bundle-0.1.jar
      2011-10-05 15:22:22,581 | DEBUG | l Console Thread | ServiceRecipe | lueprint.container.ServiceRecipe 244 | 9 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [28] and service registration org.apache.felix.framework.ServiceRegistrationImpl@8e43b44
      2011-10-05 15:22:22,582 | DEBUG | l Console Thread | ServiceRecipe | viceRecipe$TriggerServiceFactory 431 | 9 - org.apache.aries.blueprint - 0.3.1 | Method entry: getService, args org.apache.karaf.shell.console.commands.BlueprintCommand@634e3372

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: