Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325721

Summary: Add an example for setting up server-side failover tolerance
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 Keywords: noteworthy
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Appealing to a Broader Community
Bug Depends on: 203167, 325928    
Bug Blocks:    

Description Eike Stepper CLA 2010-09-20 05:01:59 EDT
Bug 203167 added failover support for repositories. A code example is missing...
Comment 1 Eike Stepper CLA 2010-09-20 05:03:43 EDT
I've added two main() methods to the org.eclipse.emf.cdo.examples plugin:

org.eclipse.emf.cdo.examples.server.FailOverExample.InitialMaster.main(String[])
org.eclipse.emf.cdo.examples.server.FailOverExample.InitialBackup.main(String[])
Comment 2 Eike Stepper CLA 2010-09-20 05:04:40 EDT
Note that you need to have latest sources (as of now) for this example to compile!

Committed to HEAD
Comment 3 Eike Stepper CLA 2011-06-23 03:39:16 EDT
Available in R20110608-1407