part.setBehavior(EXCEPTION_REMOTE);
logger.log(Level.INFO, "Configured participant to throw RE 1st");
part.setBehavior(EXCEPTION_TRANSACTION);
logger.log(Level.INFO, "Configured participant to throw UTE 2nd");
logger.log(Level.INFO, "Configuring participant to behave");
part.behave(cr.transaction);
Clearer clearer = new Clearer(part);
Thread t = new Thread(clearer);
logger.log(Level.INFO, "Running clearer thread");
t.start();
logger.log(Level.INFO, "Committing transaction");