133134135136137138139140141142143
tb.arm(); Thread distributedThread = new Thread() { public void run() { try { xares.commit(xid, false); tb.disarm(); } catch (Exception e) { throw new RuntimeException(e.getMessage()); } } };