karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3258) KarService returns immediately after Kar install
Date Mon, 06 Oct 2014 14:00:50 GMT

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

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

Talking about "single" kar, I don't reproduce the issue: the kar:install command waits that
all features are fully installed, and all bundles started.

> KarService returns immediately after Kar install
> ------------------------------------------------
>
>                 Key: KARAF-3258
>                 URL: https://issues.apache.org/jira/browse/KARAF-3258
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core, karaf-kar
>    Affects Versions: 3.0.2
>            Reporter: Andre Lanouette
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 4.0.0, 3.0.2
>
>
> In Karaf 3.0.x (up to 3.0.1), when deploying a KAR archive programatically using the
KarService.install(URI) method , the KAR archive would get installed, its features would get
started, and only then the method would return. This can be very useful when we want to control
precisely a particular sequence of kar and service start and registration. 
> With the current version of Karaf-3.0.2-SNAPSHOT, the KarService return right after the
installation of the kar archive. Features do not get started before the method returns. 
> This currently breaks our production build and tests because our plugin load order sequence
cannot be guaranteed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message