TransactionManagerImpl exTransactionManager = new TransactionManagerImpl(600, new XidFactoryImpl(), null, null);
TransactionContextManager transactionContextManager = new TransactionContextManager(exTransactionManager, exTransactionManager);
tm = (TransactionManager) new GeronimoTransactionManager(transactionContextManager);
// Create an embedded database for testing tx results when commit / rollback
ConnectionManager cm = new GenericConnectionManager(
new XATransactions(true, true),
new NoPool(),
false,
null,
transactionContextManager,