Need to add a java:comp/TransactionSynchronizationRegistry binding to the server javax.transaction.TransactionSynchronizationRegistry
This interface is intended for use by system level application server components such as persistence managers, resource adapters, as well as EJB and Web application components. This provides the ability to register synchronization objects with special ordering semantics, associate resource objects with the current transaction, get the transaction context of the current transaction, get current transaction status, and mark the current transaction for rollback. This interface is implemented by the application server by a stateless service object. The same object can be used by any number of components with thread safety.
In standard application server environments, an instance implementing this interface can be looked up by a standard name via JNDI.