[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Remote service is null for remote reference

Hi Martin,

Please open a bug for this and I will examine. If you can attach code please do. Thanks.

Scott


On 1/9/2011 3:48 AM, Martin Petzold wrote:
Hi,

Environment: ECF 3.4, JmDNS, R-OSGi

If I register a remote service with two classnames (ICoupledSimulator extends ISimulator, both Interfaces):

ServiceRegistration simulatorRegistration = Activator.getContext().registerService(
new String[]{ISimulator.class.getName(), ICoupledSimulator.class.getName()},
new CoupledSimulator(component), properties);


i get on the discovery side (with ServiceTracker filter on objectClass=" + ISimulator.class.getName() + "):

[log;+0100 2011.01.09 12:41:34:64;ERROR;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:registerRemoteServiceReferences:Remote service is null for remote reference RemoteServiceReference[remoteServiceID=org.eclipse.ecf.remoteservice.RemoteServiceID[containerID=r-osgi://jumper:9279;containerRelativeID=62];ref=RemoteServiceReference{r-osgi://jumper:9279#62-[devsosgi.simulator.ISimulator, devsosgi.simulator.ICoupledSimulator]}];severity4;exception=null;children=[]]]

[log;+0100 2011.01.09 12:41:34:74;ERROR;org.eclipse.ecf.osgi.services.distribution;org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.distribution;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.DiscoveredServiceTrackerImpl:registerRemoteServiceReferences:Remote service is null for remote reference RemoteServiceReference[remoteServiceID=org.eclipse.ecf.remoteservice.RemoteServiceID[containerID=r-osgi://jumper:9279;containerRelativeID=62];ref=RemoteServiceReference{r-osgi://jumper:9279#62-[devsosgi.simulator.ISimulator, devsosgi.simulator.ICoupledSimulator]}];severity4;exception=null;children=[]]]

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev