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-configuration-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]
>
>

Reply via email to