-
Feature Request
-
Resolution: Won't Do
-
Major
-
jBPM 6.2.0.Final
-
None
When using CMT persistence and CDI Services the DeploymentSynchronizer
fails with:
[org.jbpm.shared.services.impl.TransactionalCommandService] (
pool-17-thread-1) Could not commit session: javax.persistence.TransactionRequire
dException: No active JTA transaction on joinTransaction call
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(Abstr
actEntityManagerImpl.java:1605) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.F
inal]
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(Abstr
actEntityManagerImpl.java:1568) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.F
inal]
at org.jbpm.shared.services.impl.JpaPersistenceContext.joinTransaction(J
paPersistenceContext.java:189) [jbpm-shared-services-6.2.0.CR4.jar:6.2.0.CR4]
at org.jbpm.shared.services.impl.TransactionalCommandService.execute(Tra
nsactionalCommandService.java:41) [jbpm-shared-services-6.2.0.CR4.jar:6.2.0.CR4]
at org.jbpm.kie.services.impl.store.DeploymentStore.getDeploymentUnitsBy
Date(DeploymentStore.java:98) [jbpm-kie-services-6.2.0.CR4.jar:6.2.0.CR4]
at org.jbpm.kie.services.impl.store.DeploymentSynchronizer.synchronize(D
eploymentSynchronizer.java:73) [jbpm-kie-services-6.2.0.CR4.jar:6.2.0.CR4]
at org.jbpm.kie.services.impl.store.DeploymentSyncInvoker$TriggerDeploym
entSync.run(DeploymentSyncInvoker.java:81) [jbpm-kie-services-6.2.0.CR4.jar:6.2.
0.CR4]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
1) [rt.jar:1.7.0_51]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.
jar:1.7.0_51]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_51]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]