Correct transaction handling in an EJB with bean managed transaction
Issue
- Do I need to commit or rollback the transaction in a BMT bean under any circumstances?
- There is an ERROR in the logfile
ERROR tx.StatelessBMTInterceptor - Application error: BMT stateless bean EchosApiEJB should complete transactions before returning (ejb1.1 spec, 11.6.1)
Environment
- Red Hat Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
