225226227228229230231232233234235
CrashRem cr = lookup(isCMT ? CrashRem.CMT_JNDI_NAME : CrashRem.BMT_JNDI_NAME); if (clientTx) tx = startTx(); String res = cr.testXA(sa); return "Passed".equalsIgnoreCase(res); } catch (CannotConnectException e) {
CrashRem cr = lookup(isCMT ? CrashRem.CMT_JNDI_NAME : CrashRem.BMT_JNDI_NAME); if (clientTx) tx = startTx(); String res = cr.testXA(sa); return "Passed".equalsIgnoreCase(res); } catch (Exception e) // Was CannotConnectException {