Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Is ECF Discovery Service necessary when using RemoteServices

On 01/14/2011 12:15 PM, Bartosz Czerwiński wrote:
> Hi,
>  
> 
> I’m the begginer in ECF so please be understanding if my questions are too simple J
> 
> I analyzed ECF Remote Services hello world examples available at ECF repository. I was thinking if usage of Discovery Service is necessary. Is it possible to access remote service registered in container without that? I implemented host and consumer services which are not using discovery service and I’ve got following error.
>  
> 
> [log;+0100 2011.01.14 11:54:44:868;INFO;org.eclipse.ecf.osgi.services.discovery;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.discovery;code=1;message=handleServicePublication:ignoring {org.eclipse.ecf.osgi.services.discovery.ServicePublication}={osgi.remote.discovery.publication.service.properties={}, ecf.rsvc.ns=ecf.namespace.r_osgi.remoteservice, osgi.remote.service.interfaces=[org.stockservice.IStockService], ecf.rsvc.id=[53,52], ecf.sp.ect=[ecf.r_osgi.peer], ecf.sp.cid=r-osgi://10.212.213.2:9278, service.id=55}. No IDiscoveryAdvertiser available to handle this publication;severity1;exception=null;children=[]]]

Hi,

discovery is not a hard requirement for remote services. But without it,
you'll have to figure out a way to tell the server consumer where to
find the service provider.

What's making you want to go without discovery?

Markus


Back to the top