You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org> on 2011/10/06 09:48:29 UTC

[jira] [Commented] (KARAF-915) KAR deployment failed in the features XML is not the first entry of the KAR archive

    [ https://issues.apache.org/jira/browse/KARAF-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121778#comment-13121778 ] 

Jean-Baptiste Onofré commented on KARAF-915:
--------------------------------------------

After digging around, the issue is on the extract() method.

With jar files, the extract() method is stuck.
                
> KAR deployment failed in the features XML is not the first entry of the KAR archive
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-915
>                 URL: https://issues.apache.org/jira/browse/KARAF-915
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-kar
>    Affects Versions: 2.2.4
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.4, 3.0.0
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira