Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Enabling ConnectCoreAction

Hello Scott,

Ah ok. I modified the launch file now and added an entry for the remoteserviceadmin package. Unfortunately, the launch still fails, but at a different package now, even after I have added it.

!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2016-12-01 14:10:19.385
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ecf.osgi.services.remoteserviceadmin [160]
  Unresolved requirement: Import-Package: org.eclipse.ecf.discovery; version="4.1.0"

!ENTRY org.eclipse.ice.client 4 0 2016-12-01 14:05:06.348
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ice.client [285]
  Unresolved requirement: Import-Package: org.eclipse.ecf.discovery; version="4.1.0"

I have added the ecf.discovery package in the launch file and in the Manifest, but I am not sure on how to resolve this further. Any ideas on how I can proceed forward would be great.

Thank you,
Ram


On Thu, Dec 1, 2016 at 12:34 PM Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
On 12/1/2016 9:13 AM, Ramachandran K. Narayanan wrote:
Hello Jay, Scott,

Thanks again for the links and inputs. I store an instance of RSA based on how it was outlined in Scott's code. When I try to launch via the o.e.i.product/ice.product_linux.launch file, I get Unresolved Requirement and Import-Package errors. They seem to be related to o.e.ecf.osgi.services.remoteserviceadmin bundle. Changes are at

I have already added relevant packages to the Manifest files but I still get this error (please find attached the log file). Based on our earlier discussions, is this related to the RSA being started first, i.e. is it more conducive to use DS and the Reference annotation to resolve this? I hope I am not missing something obvious here.

!ENTRY org.eclipse.ice.client 4 0 2016-12-01 12:02:13.455
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ice.client [284]
  Unresolved requirement: Import-Package: org.eclipse.ecf.osgi.services.remoteserviceadmin; version="1.2.0"
...

Is most likely caused by the org.eclipse.ecf.osgi.services.remoteserviceadmin bundle not being in the launch config that you are using.   I can see that there is an appropriate Import-Package in your manifest for this package, so everything is obviously compiling, but when it goes to launch/start it can't find the bundle with this package and so the OSGi resolver gives the error message above.

This isn't directly related to the RSA being started first, as this resolution error occurs prior to any bundle starting (the OSGi resolver).

I would suggest looking at the contents of the launch config, and making sure that it contains the above bundle and any others required.

I had modified the Ice.product_WINDOWS.launch config (created from product config I think) in order to test locally, and that seemed to include the ECF bundles...but you may very well be using some other launch config that doesn't (or a version of above that doesn't).


Scott


_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
--
Ramachandran K. Narayanan
(Ram)
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248

Back to the top