}
try {
if (configuration != null){
TMInformation transactionManagerInformation = new TMInformation(trmName);
transactionManagerInformation.make(configuration);
TransactionManager tm = new TransactionManager(jndi, transactionManagerInformation, this);
new Thread(tm).start();
AttributeChangeNotificationFilter nf = new AttributeChangeNotificationFilter();
nf.enableAttribute("TMState");
this.addNotificationListener((NotificationListener) tm, nf, this);