log.error("Obtain current transaction from container failed", e);
}
if (transaction == null)
{
log.error("Cannot get the external transaction from the external TM");
throw new TransactionNotInProgressException("No external transaction found");
}
if (log.isDebugEnabled())
{
log.debug("registerSynchronization was called with parameters" +
"\n J2EETransactionImpl: " + odmgTrans +