beganTrans = TransactionUtil.begin(service.transactionTimeout);
if (service.requireNewTransaction && !beganTrans) {
parentTransaction = TransactionUtil.suspend();
beganTrans = TransactionUtil.begin(service.transactionTimeout);
}
<BUG>}</BUG>
if (beganTrans && TransactionUtil.debugResources) {
DebugXaResource dxa = new DebugXaResource(service.name);
try {
dxa.enlist();
} catch (Exception e) {
<BUG>Debug.logError(e, module);
}</BUG>
}

beganTrans = TransactionUtil.begin(service.transactionTimeout);
if (service.requireNewTransaction && !beganTrans) {
parentTransaction = TransactionUtil.suspend();
beganTrans = TransactionUtil.begin(service.transactionTimeout);
}
if (beganTrans && TransactionUtil.debugResources) {
DebugXaResource dxa = new DebugXaResource(service.name);
try {
dxa.enlist();
