karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-915) KAR deployment failed in the features XML is not the first entry of the KAR archive
Date Thu, 06 Oct 2011 14:02:29 GMT

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

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

Fixed on karaf-2.2.x: revision 1179632.
                
> 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

       

Mime
View raw message