karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1189) Feature installation: synchronization between copiing configuration files and installing/starting bundles
Date Tue, 28 Feb 2012 10:59:48 GMT

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

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

Agree with Christian: to match a bundle lifecycle with a config, you have to use a ManagedService.

It's not dependant of a feature, it should be directly in your bundle (as it's bundle specific).
                
> 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

       

Mime
View raw message