Recovers taransactions for given instance
// System.out.println("====>TransactionsRecoveryEventListener.processEvent"+
// "request for recovery transactions on server="+
// event.getServerName() + " logDir=" + event.getLogDir());
String currentServer = ApplicationServer.getServerContext().getInstanceName();
boolean delegated = (!currentServer.equals(event.getServerName()));
//call recover method.
try {
JTSMonitorMBean.recover(delegated, event.getLogDir());
} catch (Exception ex) {
if (ex.getMessage() != null)
throw new AdminEventListenerException(ex.getMessage());
else
throw new AdminEventListenerException(sm.getString("transaction.unexpected_exception_in_recover-transactions"));
}