You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andrei Shakirin (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/03/02 14:51:57 UTC

[jira] [Issue Comment Edited] (KARAF-1189) Feature installation: synchronization between copiing configuration files and installing/starting bundles

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

Andrei Shakirin edited comment on KARAF-1189 at 3/2/12 1:50 PM:
----------------------------------------------------------------

Need a solution/workaround for Spring DM case: see last comment

What I can imagine as a solution:
Karaf copies feature configuration files at first, than waits before they are available via ManagedService and only after it installs the feature bundles.

What do you think?

Andrei.
                
      was (Author: ashakirin):
    Need a solution/workaround for Spring DM case: see last comment
                  
> 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