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 Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf-kar
    • 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

        Activity

        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Fix Version/s 3.0.0 [ 12316040 ]
        Jean-Baptiste Onofré created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development