logger.error("| No se pudo obtener el nombre del transaction manager!!!! "+names+"|");
return;
}
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);
logger.info(transactionManagerInformation.getIdtrn()+"|Configurado e iniciado.|");
}
} catch (ConfigurationException e) {
logger.error(trmName+"|Error de configuraci�n: "+e.getMessage()+"|");
}
}