Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370391 - Make clients more robust by adding server failover support
Summary: Make clients more robust by adding server failover support
Status: ASSIGNED
Alias: None
Product: OSEE
Classification: Technology
Component: OSEE Application Framework (show other bugs)
Version: 0.9.9   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.9.9   Edit
Assignee: Swapna Mising name CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 23:42 EST by Ryan Brooks CLA
Modified: 2012-02-08 23:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Brooks CLA 2012-02-01 23:42:50 EST
While there maybe multiple application servers running, currently the client is not fault tolerant because it only performs arbitration once.

Use this failover strategy  instead: http://openejb.apache.org/ejb-failover.html
Comment 1 Ryan Brooks CLA 2012-02-08 23:58:15 EST
Perhaps the best first step would be to get HTTP requests to failover working using a fixed list of alternative servers.  Once that is working to then add support for a dynamic alternative server list.

In org.eclipse.osee.framework.core.util.HttpProcessor both post() methods (this method is overloaded) utilizes the class org.apache.commons.httpclient.methods.PostMethod with the class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler for handling retries upon failure.

The first option that comes to mind to hook in support for server failover would be to extend HttpMethodRetryHandler to make a customer handler.  However, that will probably not let you have the request directed to a different server.