assertTrue(sawXid1 && sawXid2);
xaEnv2 = (XAEnvironment) env;
Transaction recoveryXATxn1 = xaEnv2.getXATransaction(xid1);
Transaction recoveryXATxn2 = xaEnv2.getXATransaction(xid2);
xaEnv2.commit(xid1, false);
xaEnv2.rollback(xid2);
verifyData(expectedData1, false, 0, NUM_DBS);
verifyData(expectedData2, false, NUM_DBS, NUM_DBS << 1);
forceCloseEnvOnly();
xaRecoverOnly(NUM_DBS);