karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1189) Feature installation: synchronization between copiing configuration files and installing/starting bundles
Date Fri, 30 Mar 2012 09:40:39 GMT

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

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

I have found another simpler workaround. If the feature file also has a <config> entry
then this config is guaranteed to be written to the config admin service before the feature
bundles are installed

                
> 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: Christian Schneider
>              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

        

Mime
View raw message