[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Zoodiscovery Centralized Server

Hello Wim,

Sorry for the late reply, it was a holiday last week and it took some time for me to delve into the problem.

As you said, the latest Chat example project works fine, both the central and client sides do discover each others' services. Elaborating the differences with my project. I finally found out the following.

In org.eclipse.ecf.example.chat.config project, Zoodiscovery is started through Configuration Admin service. However, the updated(..) function of ZooDiscoveryExtender is called twice, possibly on two different objects, thus, Zoodiscovery is attempted to get started again.

Strange enough, this looks like what stopped the problem.

In my project, I was starting Zoodiscovery directly through Activator by calling a startZoodiscovery function. So, by recalling it, it started to work as desired. Another solution was to add -Dzoodiscovery.autoStart to VM parameters. This second one also eliminates zoodiscovery bind errors.

If I'm not mistaken, second start attempt makes something else work. Do you think that it is related to some bug?

Regards,
Muammer


On Sat, Jul 26, 2014 at 11:38 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:
Hi Muammer,

Yes. ÂAt some point it stopped being a problem. Did you check out the chat server to see if/how it was solved?Â

Met vriendelijke groet,

Wim

On 24 jul. 2014, at 17:32, Muammer EroÄlu <muammer.eroglu@xxxxxxxxx> wrote:

Hi,

I'm working on some demo projects in order to understand ECF concepts and learn usage. I've successfully implemented a whiteboard-pattern service/listener_service configuration using RS and Zoodiscovery in standalone mode.

However, when I switch Zoodiscovery to centralized mode in both of the computers, and let one of them be the centralized server, the other computer's registrations are not discovered.

Searching about this problem, I've found a similar case written by Wim Jongman about the ECF Chat client. Here is the mail: http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg06622.html

As stated by Wim, I also fired up zooserver in a third machine, and it worked up correctly. However, there was no solution to the same computer problem in the upcoming mails.

Has there been any solutions to this problem since that day?

As a sidenote, I'm experimenting Guice/Peaberry for service registration; and it performs OK.

Regards,
Muammer Eroglu

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev