Calling org.apache.openejb.client.Client.addRetryCondition(MyException.class) allows the addition of either standard or custom exception classes to be seen as failures which should result in failover and the request retried on a different server. A concrete example might be javax.ejb.ConcurrentAccessTimeoutException, which indicates the bean itself is busy and cannot be accessed. Or in the case of @Stateless beans indicates the pool itself is drained and all instances are in use.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|