[CDO] Unmonitored fail-over example [message #954950] |
Tue, 23 October 2012 07:38  |
Eclipse User |
|
|
|
Hi,
I just tried to run the unmonitored fail-over example in org.eclipse.cdo.examples.server.FailoverExample (InitialMaster, InitialBackup).
First, I run the InitalMaster main program. I get the following exception Exception in thread "main" org.eclipse.net4j.util.lifecycle.LifecycleException: Could not activate TCPClientConnector[localhost:2.037] . That means the InitialMaster-Repo can not connect to the InitialBackup-Repo. This is because the InitialBackup main program is not running yet and has not created an acceptor. It is the same vice versa.
So, how can I run this example?
Cheers,
Tino
[Updated on: Fri, 26 October 2012 03:56] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [CDO] Unmonitored fail-over example [message #1005485 is a reply to message #1005473] |
Fri, 25 January 2013 10:57   |
Eclipse User |
|
|
|
Am 25.01.2013 16:27, schrieb Tino Milschewski:
> Hi Eike,
>
> currently we are using the bundles directly from the git-repository, instead of 4.2-M3 (S20121002-0801). Now, it works
> in the example and it also seems to work in our application :).
Excellent ;-)
> By the way: In our scenario, it could happen that the monitor fails. After restarting the monitor, it would be nice,
> if the fail-over repos could automatically reconnect to it. What do you think?
Sounds reasonable. If that's currently not the case, please submit an enhancement request. Please note that, without
someone contributing a patch, I see no chance to work on this anytime soon.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.19067 seconds