You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by ext2 <xu...@tongtech.com> on 2011/06/27 05:38:43 UTC

Why the OSGI Configuration is bound to a config admin bundle, and not visible to other app bundles?

Hi:
	I have a bundle which will deploy a properties file as OSGI
Configuration, temporary I just call this bundle as a "config admin
bundle"; 

	Most time, after "config admin bundle" update configuration , the
application bundle can got it immediately. But rarely, the application
bundle must wait for 4~~5 second, otherwise the application bundle can only
get a OSGI Configuration which properties is null(
Configuration.getProperties() return NULL).
	And also a error in log shows: the configuration has been bound to
the "config admin  bundle";
	
	
	Why the application must wait for 4~5 seconds? I have confirmed that
I have reset the configuration's bundle location to NULL in the "config
admin  bundle"; 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org