karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1189) Feature installation: synchronization between copiing configuration files and installing/starting bundles
Date Wed, 28 Mar 2012 10:44:28 GMT

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

Achim Nierbeck commented on KARAF-1189:
---------------------------------------

@Andrej: 
If you have a Service that depends on a external configuration your only option is to go for
managed Service Factories. 
There is some documentation for this in the Spring-DM documentation at: 
http://static.springsource.org/osgi/docs/1.2.1/reference/html-single/#compendium:cm:managed-service-factories
                
> 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