Explicitly joining a JTA transaction requires a JTA transaction be currently active

Solution Unverified - Updated -

Issue

  • After adding wildfly ejb client dependency for existing Spring boot application, below error occurs during startup:

    [ main] o.j.s.s.i.TransactionalCommandService : Could not commit session
    
    javax.persistence.TransactionRequiredException: Explicitly joining a JTA transaction requires a JTA transaction be currently active
    at org.hibernate.internal.SessionImpl.joinTransaction(SessionImpl.java:3650) ~[hibernate core-5.4.21.Final.jar...]
    at org.hibernate.internal.SessionImpl.joinTransaction(SessionImpl.java:3635) ~[hibernate-core-5.4.21.Final.jar...]
    at org.springframework.orm.jpa.ExtendedEntityManagerCreator
    

Environment

  • Red Hat Process Automation Manager 7.13.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content