The application is running on netweaver ce 7.1. We are using spring to create/inject our service layer and using declarative transaction management. The resources are xa resources and we are using JTA transactionmanager.
In a particular scenario we have a transaction boundary that is demarcated as 'REQUIRES_NEW' because this this has to commit/rollback separate from the current transaction. The suspend bit seems to work, but when 'begin' is called on the new transaction, we get the following exception:
Caused by: javax.transaction.SystemException: It is not possible to enlist connections into different transaction if they are already enlisted into another transaction.
Does anybody have any ideas as to a possible solution?