This content has been marked as final.
Show 1 reply
-
1. Re: Jbpm 5.4 spring configuration : Human Task is not created
mesa Apr 4, 2013 6:19 AM (in response to mesa)this issue is identical to : https://community.jboss.org/thread/195386?start=0&tstart=0
looks like issue is caused by : TaskSessionSpringFactoryImpl.java , initialization of TaskPersistenceManager is determined by:
private TaskPersistenceManager createTaskPersistenceManager() { TaskPersistenceManager tpm; TaskSpringTransactionManager ttxm = new TaskSpringTransactionManager(springTransactionManager, useJTA); if (useEMF) { tpm = new TaskPersistenceManager(emf.createEntityManager(), ttxm); -------------------- this is initialized is it correct ???????? } else { tpm = new TaskPersistenceManager(springEM, ttxm); tpm.setUseSharedEntityManager(true); ---------------------------------- shouldnt this be initialized ???? if yes then how to configure springEM } return tpm; }