Correct transaction handling in an EJB with bean managed transaction (BMT)
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, tools, and much more.