• Icon: Sub-task Sub-task
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.2.GA
    • JCA service
    • None

      Related to the parent task.

      The best way to implement this would be to introduce a generic execption handler
      (like the ExceptionSorter in our jdbc adapter).
      This handler could check for additional errors beyond XAER_RMERR and XAER_RMFAIL
      for which the connection should be closed.

      e.g. a simple one might be the XAException contains a nested IOException?
      Another one could be checking of a particular string in the XAExecption.getMessage().
      public boolean isFatal(XAExeption e)
      {
      if (xaException.getMessage().contains("ACME-0473") // fatal error
      return true;
      return false;
      }

              Unassigned Unassigned
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: