Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » r-osgi, File-based discovery
r-osgi, File-based discovery [message #625141] Mon, 08 March 2010 12:19
No real name is currently offline No real nameFriend
Messages: 6
Registered: March 2010
Junior Member
Hello,

I am trying to run a file-based discovery with the r-OSGI provider.
I am utilizing the org.eclipse.ecf.examples.remoteservices.hello.consumer
and
org.eclipse.ecf.examples.remoteservices.hello.host
examples.

Everything is running just fine with one host and one consumer.
However when I start an additional host (on a separate machine) the consumer discovers only one of them.
My OSGI-INF/remote-service/hello-service-description-generic.xm l file is:

<?xml version="1.0" encoding="UTF-8"?>
<service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0">
<service-description>
<provide interface="org.eclipse.ecf.examples.remoteservices.hello.IHello "/>
<property name="ecf.sp.cid">r-osgi://localhost:9279</property>
<property name="ecf.sp.cns">ecf.namespace.r_osgi</property>
<property name="ecf.sp.ect">ecf.r_osgi.peer</property>
</service-description>
<service-description>
<provide interface="org.eclipse.ecf.examples.remoteservices.hello.IHello "/>
<property name="ecf.sp.cid">r-osgi://192.168.1.242:9279</property>
<property name="ecf.sp.cns">ecf.namespace.r_osgi</property>
<property name="ecf.sp.ect">ecf.r_osgi.peer</property>
</service-description>
</service-descriptions>

In fact, only the first <service-description> entry is discovered.
Is this the right way to have more than one provider for a given service?

Thanks in advance.

Regards,
Rado
Previous Topic:Getting all participants of all open IRC channels
Next Topic:Pydev + ECF Using docshare
Goto Forum:
  


Current Time: Thu Apr 25 05:13:23 GMT 2024

Powered by FUDForum. Page generated in 0.02713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top