Subject: Different ECF OSGi remote services (Neon.3 vs Photon) do not work together |
Author: Thanh Liem PHAN |
Date: Mon, 23 July 2018 14:11 |
Hi,
I have a host application with OSGi remote service running on Oxygen and a client running on Neon. The client and the host could communicate well. No problem.
When I upgraded the application host OSGi remote service to Photon, the client could not connect to the host anymore. And there is an NPE in the remote service admin:
RemoteReferenceNotFoundException[targetID=StringID[ecftcp://192.168.5.175:63603/server], idFilter=[StringID[ecftcp://192.168.5.175:63603/server]], interfaces=[com.all4tec.sa.osgi.service.interfaces.api.IGlobalAnalysis], rsFilter=(&(ecf.rsvc.id=2))]
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:2418)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:467)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager.handleECFEndpointAdded(AbstractTopologyManager.java:301)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManagerImpl.handleEndpointAdded(BasicTopologyManagerImpl.java:107)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManagerImpl.endpointChanged(BasicTopologyManagerImpl.java:176)
at org.eclipse.ecf.internal.osgi.services.distribution.Activator$ProxyEndpointEventListener.deliverSafe(Activator.java:206)
at org.eclipse.ecf.internal.osgi.services.distribution.Activator$ProxyEndpointEventListener.endpointChanged(Activator.java:183)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionLocator$1.dispatchEvent(EndpointDescriptionLocator.java:219)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
The host ecf osgi remote admin version is 4.6.800
and the client one is 4.4.2
Does anyone experience the same problem, or having an idea to solve this?
Thanks in advance.
|
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]
|