Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] multiple service call


Hi Scott
    I used org.eclipse.ecf.sdk_3.2.0.v20100219-1253.zip 
    My issue is a bit different.I have 2 providers(in 2 different machines) and one  consumer in another machine.The providers implement the same Interface.I am using Service tracker in consumer side.I am able to receive only one remote reference.While debugging ECF code i found if a container is already connected(i.e it already discovered provider in machine 1),it cant find the remote service reference from machine 2(as the code has a check for isContainerConnect which is true while remotelocation becomes machine2, as its already connected to provider of machine 1) .
   It can be reproduced using the hello world sample example that is provided along with ECF. 

Thanks and Regards

Abhisek
 
On Mon, May 17, 2010 at 8:15 PM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
Hi Abhisek,

abhisek saikia wrote:
Hi Scott

   Thanks for your suggestions.One more doubt in this regard is ..can have 2 provider proxy reference in my consumer?while using 2 providers implementing same service at 2 different machine,in consumer serviceadd i am able to get only one service reference.Is ECF blocking it somewhere?

First, are you using the version from HEAD (as opposed to something older)?

There was a bug fixed recently that prevented the publishing/discovery of the same service multiple times from the same framework, and I'm still try to reproduce an apparently similar issue described by this bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=311730

but I don't know of any problem with this specific use case...so no, ECF is not blocking it somewhere.

So please take a look at bug 311730...if that seems like overlapping with your situation then please contribute to the bug with instructions to reproduce.  If it does not seem like your situation then please open a new bug and describe your situation with as much detail (and code) to reproduce as possible.


Thanks,

Scott


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


Back to the top