Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10245

Unable to reuse the thread where a transaction timed out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • KieServer
    • None

      This exception appears when using Springboot after a transaction timeout

      Caused by: javax.persistence.TransactionRequiredException: Explicitly joining a JTA transaction requires a JTA transaction be currently active
              at org.hibernate.internal.SessionImpl.joinTransaction(SessionImpl.java:3649) ~[hibernate-core-5.4.33.jar:5.4.33]
              at org.hibernate.internal.SessionImpl.joinTransaction(SessionImpl.java:3634) ~[hibernate-core-5.4.33.jar:5.4.33]
              at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.doJoinTransaction(ExtendedEntityManagerCreator.java:378) ~[spring-orm-5.3.27.jar:5.3.27]
              at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:345) ~[spring-orm-5.3.27.jar:5.3.27]
              at com.sun.proxy.$Proxy164.joinTransaction(Unknown Source) ~[?:?]
              at org.jbpm.shared.services.impl.JpaPersistenceContext.joinTransaction(JpaPersistenceContext.java:229) ~[jbpm-shared-services-7.67.0.Final-redhat-00029.jar:7.67.0.Final-redhat-00029]
              at org.jbpm.shared.services.impl.TransactionalCommandService.execute(TransactionalCommandService.java:75) ~[jbpm-shared-services-7.67.0.Final-redhat-00029.jar:7.67.0.Final-redhat-00029]
              at
      

              ftirados Francisco Javier Tirado Sarti
              ftirados Francisco Javier Tirado Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: