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

Guillaume Nodet commented on KARAF-4158:
----------------------------------------

{code}
<feature name="my-feature">
  <feature prerequisite="true">my-dependency</feature>
  ...
<feature>
{code}

All configurations are installed before the bundles are started.  However, if 
you use {{configfile}} instead of {config}}, the file will be written to the 
given location, but the configuration will be picked up by fileinstall 
asynchronously.  When using {{config}} elements, the configuration is given to 
ConfigAdmin synchronously.

> Unexpected behavior on first startup
> ------------------------------------
>
>                 Key: KARAF-4158
>                 URL: https://issues.apache.org/jira/browse/KARAF-4158
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.0.3
>         Environment: RHEL 6.2 x32, Java 1.8.0_72-ea-b05
>            Reporter: Jean-Philippe CLEMENT
>            Assignee: Christian Schneider
>             Fix For: 4.1.0
>
>
> This problem only occurs on the very first startup of a custom assembly. This 
> means unpacking the assembly .tar.gz then run karaf. This issue is not 100% 
> reproducible. Several untar/run might be necessary to reproduce the issue.
> The problem comes with Blueprint property-placeholders. User bundles might be 
> started and not get .cfg replaced properties but the "$(PARAM_NAME)" itself 
> (String property).
> I suspect user bundles to be started before the .cfg files are populated in 
> the /etc directory.



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

Reply via email to