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

Christian Schneider commented on KARAF-1189:
--------------------------------------------

Basically the right way to do this is to start your services when the config is 
present. So for example you start the service in the ManagedService.updated 
method. I think blueprint can take care of this too.
                
> Feature installation: synchronization between copiing configuration files and 
> installing/starting bundles
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1189
>                 URL: https://issues.apache.org/jira/browse/KARAF-1189
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Andrei Shakirin
>            Assignee: Jean-Baptiste Onofré
>              Labels: configuration, features,
>
> Hi,
> Actually there is no synchronization between installation/starting bundles 
> and copiing configuration files.
> It causes sometimes that bundles with OSGi services are already started, but 
> appropriate configuration is not yet accepted by ConfigurationAdmin. Result 
> is failed services by first installation. After restart problem is resolved.
> Question: is it basically possible to wait untile configuration files are 
> accepted by ConfigurationAdmin and only after it start bundles from the 
> feature?
> Regards,
> Andrei.

--
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


Reply via email to