Hi,
I am new to DOSGi, and I have some question about the starter demo project
hosted at http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html
My client and server are running Felix 2.0.1.
Interaction between them seems to be working fine (invoking services between
OSGi containers); however, I noticed that the addingService (function calls of
the ServiceTracker on client side) are executed multiple times which leads to
duplicates of the same OSGi service being added to the client. More
precisely, a service tracker is created within a client OSGi bundle to track an
OSGi service offered by the server; however, the addingService function of the
tracker is run multiple times when the client bundle is activated.
This can be prevented by adding a unique-check at the addingService(), but I am
wondering is the above scenario working as intended? If not, is anyone getting
this as well?
Thanks,Nick
_________________________________________________________________
除了電子信箱,更有許多有用的功能。快來使用免費的 Windows Live Hotmail。
https://signup.live.com/signup.aspx?id=60969