[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ecf] Re: Problem understand - "Discovery of Remote Services

Hi Neeraj,

This can happen for a number of reasons (i.e. no IDiscoveryService instances are found), but a common reason is that no provider bundle is available/started.

Could this be the case with your configuration? i.e. do you have either or both of the bundles:

org.eclipse.ecf.provider.jmdns (zeroconf)
org.eclipse.ecf.provider.jslp (slp)

installed in your target platform? You need at least one of these, along with org.eclipse.ecf.discovery to have an IDiscoveryService available via the service tracker.

Thanks. Do let us know if this solves your problem...if not we'll attempt to help in other ways. BTW, you might be interested in the slides (available after) from the talk given tomorrow at ESE 2008: http://www.eclipsecon.org/summiteurope2008/sessions?id=89.

Thanks,

Scott

Neeraj wrote:
Hello All,
I am trying to understand the Discovery of Remote Services(http://wiki.eclipse.org/Discovery_of_Remote_Services) example, but I am facing a problem running the same. Problem mentioned below.


Problem:On running the org.eclipse.ecf.remoteservices.server, the service tracker returns a null value for the discovery service. org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
at org.eclipse.ecf.internal.examples.remoteservices.server.DiscoverableServer.start(DiscoverableServer.java:94)


at org.eclipse.ecf.internal.examples.remoteservices.server.DiscoverableServer.start(DiscoverableServer.java:112)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

I am using Eclipse Ganymede and the latest ECF plugins.

It would be nice if someone could point me in the right direction.
Thanks in Advance.

Regards,
Neeraj Bhusare.