Transaction timeout override reset on threads when BMT transactions run in JBoss EAP 7
Issue
- Setting a transaction timeout override (e.g. using UserTransaction.setTransactionTimeout(int)) on a thread.
- After a Bean Managed Transaction (BMT) method completes the override has been reverted to the default transaction timeout.
- The reversion occurs whether the BMT method starts a new transaction or uses an existing transaction context.
- A subsequent transaction (BMT or CMT context) on the thread will run with the default transaction timeout.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.1
- 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.