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

Destroy connections after a ResourceManager failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.5.CR1
    • JBossAS-4.0.4.GA
    • JCA service
    • None

      In TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist()
      we don't check the XAException for a total failure.

      If the XAException has error code XAER_RMERR or XAER_RMFAIL
      we should just destroy the connection straightaway.

      We don't want these connections being returned to the pool,
      only for the valid connection checker to close them next time the connection is used.
      There is no point.

              weston.price Weston M. Price (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: