Great, it works (getConfiguration with null as location)! Thanks you very very much Roland, Felix and Pierre. I will read the 104.4.1 chapter to really understand the location aspect.
Best regards, Jean-Philippe [@@ THALES GROUP INTERNAL @@] -----Message d'origine----- De : Pierre De Rop [mailto:[email protected]] Envoyé : mardi 10 septembre 2013 12:13 À : [email protected] Objet : Re: configadmin: no visibility to configuration Hi Jean-Philippe, in addition to the responses made by Felix and Roland, you can also refer to configuration admin specification, especially in the chapter 104.4.1 of the 4.3 OSGi compendium, which explains what is a configuration location binding (the second parameter of the getConfiguration(String pid, String location) method). best regards; /Pierre On Tue, Sep 10, 2013 at 12:04 PM, Roland <[email protected]> wrote: > Hi, > I assume you try to configure a service that was created by another bundle. > The bundle which creates the configuration has no visibility to the > service. > > Try to use one of the following: > > getConfiguration(pid, "?"); > > createFactoryConfiguration(msf, "?"); > > or > > getConfiguration(pid, null); > > createFactoryConfiguration(msf, null); > > Regards > Roland > > > > -- > View this message in context: > http://apache-felix.18485.x6.nabble.com/configadmin-no-visibility-to-c > onfiguration-tp5004904p5004906.html > Sent from the Apache Felix - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

