How to debug ECF? [message #758960] |
Fri, 25 November 2011 06:55 |
Eclipse User |
|
|
|
Hi. I've spent the last few days trying to implement an ECF host/consumer pair for my osgi/equinox app, without any success.
I have the remoteservices.hello demo projects running correctly, and have implemented exactly the same calls but I just can't get anything to work. I'm using the zeroconf/r-osgi container, but I've had just as little success with zeroconf/generic as well.
The problem, as I understand it so far, is that the service does not get exported correctly. When I export it, I print the service registration, which is:
Serv{com.myexample.RemoteDataSourceInterface}={service.exported.configs=ecf.r_osgi.peer, service.exported.interfaces=*, service.id=67}
If I run a bonjour service discovery app on my machine (I'm using OSX Lion), I don't see any osgi bonjour services being run at all, so it not surprising that I don't get any discovery. When I run the hello demo project, I can clearly see the _ecf.osgirsvc. service being run.
The question I have is: How do I go about debugging this?
I've read every topic I can find on this, and checked that the correct bundles are being run, and in the right order, but I'm out of ideas now.
Can anybody recommend anything I can try to find out exactly what stage of the bundle export is going wrong.
I'm using ECF 3.5.3, the latest stable build, with Equinox 3.7.1.
Thanks!
[Updated on: Fri, 25 November 2011 06:56] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03519 seconds