Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6153

Transaction sticky target not available should be thrown as ServiceUnavailableException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.GA
    • JBossAS-4.2.3.GA, JBossAS-5.0.0.CR2
    • Clustering
    • None
    • Low
    • Workaround Exists
    • Hide

      Client application re-looking up home when a cluster shutdown is suspected or
      simply, every time the node shutdown is detected on the client side, re-lookup
      home. As mentioned in description, no need to explictly re-lookup UserTransaction.

      Show
      Client application re-looking up home when a cluster shutdown is suspected or simply, every time the node shutdown is detected on the client side, re-lookup home. As mentioned in description, no need to explictly re-lookup UserTransaction.

      Transaction sticky target not available should be thrown as ServiceUnavailableException, otherwise
      RetryInterceptor (RI) logic does not kick in when the cluster has restarted. The retry would fail as expected
      because the previous transaction is no longer available but the RI avoids the client application having to
      explicitly re-look home.

      Note: UserTransaction has its RetryInterceptor-ish logic within ClientUserTransaction and hence this does
      not affect it.

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: