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

        David Blevins created issue -
        David Blevins committed 951612 (10 files)
        Reviews: none

        svn merge -r 951610:951611 https://svn.apache.org/repos/asf/openejb/trunk/openejb3

        http://svn.apache.org/viewvc?rev=951611&view=rev
        ------------------------------------------------------------------------
        r951611 | dblevins | 2010-06-04 16:07:20 -0700 (Fri, 04 Jun 2010) | 3 lines

        OPENEJB-1292: Client Failover on connection pool timeout
        OPENEJB-1293: Conditional Client Failover based on container or bean thrown Exception types

        ------------------------------------------------------------------------

        David Blevins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development