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,

It was a silly mistake on my side. I had moved the edef folder elsewhere rather than to the root path. The url variable is no longer null, but I see the following two issues:

1) When the code attempts to importService, I get an error:
!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2016-12-05 12:34:33.946
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;<snipped>]
!STACK 0
org.eclipse.ecf.osgi.services.remoteserviceadmin.SelectContainerException: No consumerContainerSelector available
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:428)
at org.eclipse.ice.client.common.ConnectCoreHandler$1.get(ConnectCoreHandler.java:90)
at org.eclipse.ice.client.common.ConnectCoreHandler$1.get(ConnectCoreHandler.java:1)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at java.lang.Thread.run(Thread.java:745)
java.util.concurrent.CompletionException: java.lang.RuntimeException: Exception importing Core remote service

I have tried looking up that specific message, but apart from source code files which have that, I am not able to see what the issue could be.

2) When I launch the core separately, I am not able to see the launched core via the ECF Communications Perspective, i.e. in the ECF Endpoint Discovery list. Could this be why the client can't connect in issue 1?

Thanks,
Ram


On Fri, Dec 2, 2016 at 11:03 PM Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
On 12/2/2016 2:53 PM, Ramachandran K. Narayanan wrote:
> Ah ok. I have moved the file to be in the path
> o.e.i.client/edef/rscore.xml, but I get the same issue that the url
> variable is null. I will examine the bundle root path to make sure the
> xml file is visible.

Ok.   I'm not sure how you are building the jar, but you need to make
sure that whatever files you put in the project make it to the jar.
e.g. in build.properties if using Tycho/PDE, or somehow added to the bundle.

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