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

Timothee Maret commented on SLING-4395:
---------------------------------------

[~cziegeler] yes, the org.apache.sling.installer.factory.configuration bundle 
is started before the org.apache.felix.configadmin and org.apache.felix.scr 
bundles. The install sequence is listed below.

{noformat}
        09.02.2015 17:56:43.703 *INFO* [OsgiInstallerImpl] 
org.apache.sling.audit.osgi.installer Installed bundle 
org.apache.sling.installer.factory.configuration [36] from re
        source 
TaskResource(url=launchpad:resources/install/5/org.apache.sling.installer.factory.configuration-1.0.10.jar,
 entity=bundle:org.apache.sling.installer.factory.con
        figuration, state=INSTALL, 
attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:15:, 
Bundle-SymbolicName=org.apache.sling.installer.factory.configurat
        ion, Bundle-Version=1.0.10], digest=1423504599000)


09.02.2015 17:56:44.105 *INFO* [OsgiInstallerImpl] org.apache.felix.configadmin 
BundleEvent INSTALLED
09.02.2015 17:56:49.283 *INFO* [OsgiInstallerImpl] 
org.apache.sling.audit.osgi.installer Started bundle 
org.apache.felix.configadmin [44]
09.02.2015 17:57:02.391 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STARTING
09.02.2015 17:57:02.406 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
Service [org.apache.felix.cm.ConfigurationAdmin,75] ServiceEvent REGISTERED
09.02.2015 17:57:02.414 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STARTED

                09.02.2015 17:57:02.552 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STARTING
                09.02.2015 17:57:02.668 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STARTED

                09.02.2015 18:03:05.460 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STOPPING
                09.02.2015 18:03:05.468 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STOPPED

09.02.2015 18:03:05.471 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STOPPING
09.02.2015 18:03:05.473 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STOPPED

09.02.2015 18:03:11.795 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STARTING
09.02.2015 18:03:11.797 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STARTED

                09.02.2015 18:03:11.807 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STARTING
                09.02.2015 18:03:12.256 *INFO* [FelixStartLevel] 
org.apache.felix.scr BundleEvent STARTED

                09.02.2015 18:03:20.208 *INFO* [OsgiInstallerImpl] 
org.apache.felix.scr BundleEvent STOPPING
                09.02.2015 18:03:21.739 *INFO* [OsgiInstallerImpl] 
org.apache.felix.scr BundleEvent STOPPED


        09.02.2015 18:03:22.028 *INFO* [OsgiInstallerImpl] 
org.apache.sling.audit.osgi.installer Updated bundle 
org.apache.sling.installer.factory.configuration [36] from resource 
TaskResource(url=fileinstallpatch:/org.apache.sling.installer.factory.configuration-1.1.0.jar,
 entity=bundle:org.apache.sling.installer.factory.configuration, state=INSTALL, 
attributes=[Bundle-Version=1.1.0, 
org.apache.sling.installer.api.tasks.ResourceTransformer=:1984:15:, 
Bundle-SymbolicName=org.apache.sling.installer.factory.configuration],  
digest=1423504986000)

                09.02.2015 18:03:23.224 *INFO* [OsgiInstallerImpl] 
org.apache.felix.scr BundleEvent STARTING
                09.02.2015 18:03:29.813 *INFO* [OsgiInstallerImpl] 
org.apache.felix.scr BundleEvent STARTED

09.02.2015 18:11:05.327 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STOPPING
09.02.2015 18:11:05.329 *INFO* [FelixStartLevel] org.apache.felix.configadmin 
BundleEvent STOPPED
{noformat}

> Configuration Installer does not apply configuration updates
> ------------------------------------------------------------
>
>                 Key: SLING-4395
>                 URL: https://issues.apache.org/jira/browse/SLING-4395
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Configuration Factory 1.1.0
>            Reporter: Timothee Maret
>            Priority: Critical
>             Fix For: Installer Configuration Factory 1.1.2
>
>
> In our setup, we are running the following "relevant" bundles
> org.apache.sling.installer.factory.configuration 1.1.0
> org.apache.felix.configadmin  1.8.0
> We deploy a component com.sample.MyComponent that is configured via a nt:file 
> configuration in the repository (under 
> /apps/system/config/com.sample.MyComponent.config).
> We noticed that when modifying a property of the configuration, the component 
> will not pick up the change.
> Looking at the OSGI component console (/system/console/components/{cid}) 
> shows the old properties.
> Looking at the OSGI config manager console (/system/console/configMgr) for 
> the related component shows the "Configuration Binding" as being "?".
> This new state "?" seems to have been introduced in SLING-4263 and thus, may 
> be expected according to the bug description.
> However, it looks like although the configuration rightly set "?", this new 
> value is not correctly interpreted thus making our component running with the 
> old configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to