Explicitly joining a JTA transaction requires a JTA transaction be currently active
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.