It seems a bit confusing what your real problem is but from this it sounds like you have class-loading or dependency issue. Make sure there is only one ConfigurationAdmin Service in your setup (e.g. activate the console). You might also want to adjust your Componetn config to require a configuration. Also you should make sure that your Component behaves right in the sense of the dynamic nature of OSGi, DS and CM...

If you describe a little more what your problem is (e.g. with a small test-case) we can better help you. I have already used DS with pax-exam-cm module without a problem.

Am 28.10.2016 12:17, schrieb Benson Margulies:
On Fri, Oct 28, 2016 at 12:23 AM, Christian Schneider
<[email protected]>  wrote:
Do you set up the configuration programmatically using ConfigurationAdmin ?
If yes then you might want to try the pax exam cm Module.
I use that.

In the debugger, I can see that SCR does not see ConfigurationAdmin.
The ConfAdminListener in SCR is never called to notice the arrival of
the CA service. Yet the CA service is there; I can obtain a reference
to it in my test.


--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to