OpenEJB
  1. OpenEJB
  2. OPENEJB-1293

Conditional Client Failover based on container or bean thrown Exception types

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: server
    • Labels:
      None

      Description

      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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        136d 4h 7m 1 David Blevins 19/Oct/10 03:56
        David Blevins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        David Blevins created issue -

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development