karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-608) Allow for multi-stage boot features installation
Date Mon, 24 Sep 2012 08:05:12 GMT

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

Christian Schneider commented on KARAF-608:

I thought a lot about a way to achieve the desired behaviour without staged boot features
but found no working till now. So I will implement it like described.

The problem are the obr and the url handlers. Both are already needed when loading the bundles.
So I think the easiest way to make sure both are loaded before bundles that need them is to
load these features as a first stage. I am still not sure this is really the best solution
but I found no better till now. Any ideas?
> Allow for multi-stage boot features installation
> ------------------------------------------------
>                 Key: KARAF-608
>                 URL: https://issues.apache.org/jira/browse/KARAF-608
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>    Affects Versions: 2.1.5, 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Christian Schneider
>             Fix For: 2.3.1, 3.0.0
> Currently, all boot features specified are installed in a single go: all the bundles
get installed, resolved and then afterwards get started.  This works fine for most features,
but there are a few scenarios where it would be nice to allow installing the boot features
in a few independent batches.
> One example is ServiceMix' use of OBR in the features.  You can install OBR support through
a feature, but it needs to be installed before resolving the other features to allow the Features'
OBR Resolver support to kick in.  We have now worked around this in ServiceMix by adding the
OBR feature's bundle to the startup.properties file, but it would be nice to have a simpler
> Another example is a feature that include a war: url for adding web applications.  That
requires the war feature to be installed and started before attempting the installation of
the web application feature.
> We could e.g. allow adding parentheses to group parts of the boot features that need
to be installed in a single batch.  Something like (obr,war),activemq,cxf,camel,jbi could
install the 'war' and 'obr' feature in a first batch and the do the rest as usual.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message