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

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

Do you use synchronousBoot true in {{etc/org.apache.karaf.features.cfg}} ?

> Install features in predictable order
> -------------------------------------
>
>                 Key: KARAF-7606
>                 URL: https://issues.apache.org/jira/browse/KARAF-7606
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.4.2
>            Reporter: Amichai Rothman
>            Priority: Major
>
> The order in which features are installed can make a difference due to some 
> conflicts, refreshes, etc. When installing features e.g. via featuresBoot, 
> they seem to get installed in arbitrary order and not in the specified order, 
> which makes it impossible to control the order, and have predictable 
> application startup and behavior. This is likely due to the use of HashSets 
> and HashMaps in the featuresServiceImpl processing (and possibly elsewhere). 
> Using LinkedHashSets or similar when processing/mapping/creating sets can 
> help keep the order predictable. Or just use Lists and remove duplicates once 
> at the beginning.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to