Unable to catch commit failure exception in CMT scenario in JBoss EAP

Solution Verified - Updated -


  • Executing a container managed transaction (CMT) method (no class/method transaction type declared or explicit TransactionManagementType.CONTAINER)
  • The method fails during transaction commit
  • No exception is caught by catch block within the method

        public void myTransactionalMethod() {
            try {
                // transactional operations here
            } catch (Throwable t) {
                // exception handling code here (e.g. for javax.ejb.EJBTransactionRolledbackException)


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In