Where do you have the service interface?
In the service bundle, external or in both bundles?

Christian

Am 16.05.2012 13:19, schrieb maaruks:
I have got service provider in one bundle and consumer in other.
If I reinstall (stop, uninstall, install and start) service provider then
consumer can't get reference to the service anymore.

Here is service consumer code:




It keeps printing "ServiceReference is null"  although provider has
registered a new service  and it can get service reference.
ctx.getServiceReference(MarketStatusStreamService.class.getName() is not
null.

Service provider code:


Am I doing something wrong ?

--
View this message in context: 
http://karaf.922171.n3.nabble.com/service-reference-is-null-after-service-reinstall-tp3996874.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to