Community
Participate
Working Groups
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
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.