Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Different ECF OSGi remote services (Neon.3 vs Photon) do not work together
Different ECF OSGi remote services (Neon.3 vs Photon) do not work together [message #1792752] Mon, 23 July 2018 14:11 Go to next message
Thanh Liem PHAN is currently offline Thanh Liem PHANFriend
Messages: 8
Registered: November 2015
Junior Member
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.
Re: Different ECF OSGi remote services (Neon.3 vs Photon) do not work together [message #1792768 is a reply to message #1792752] Mon, 23 July 2018 16:28 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1030
Registered: July 2009
Senior Member
There were several additions to Photon...mostly in support of OSGi R7 spec...that meant breaking backward compatibility...at least for versions prior to Oxygen (i.e. Neon).

I think the easiest fix would be migrating things forward to Photon. Or if necessary leaving version prior to ECF Photon.
Previous Topic:ECF Bundles for service discovery in OSGI with Bnd tools
Next Topic:Bug 219368 - Indefinite hang on HTTP connection to unresponsive site - back again
Goto Forum:
  


Current Time: Sun Nov 18 02:22:20 GMT 2018

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

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

Back to the top