CopyOnWriteArrayList resourceAdapters = null; //new CopyOnWriteArrayList();
TransactionManagerImpl tm = new TransactionManagerImpl(600, new UnrecoverableLog(), resourceAdapters);
final ExtendedTransactionManager etm = tm;
XidImporter xidImporter = tm;
TransactionContextManager manager = new TransactionContextManager(etm, xidImporter);
GeronimoWorkManager workManager = new GeronimoWorkManager(1000, manager);
workManager.doStart();