[jboss-dev-forums] [jBPM Development] - Re: Jbpm 5.4 spring configuration : Human Task is not created

mayank sahai do-not-reply at jboss.com
Thu Apr 4 06:19:03 EDT 2013


mayank sahai [https://community.jboss.org/people/mesa] created the discussion

"Re: Jbpm 5.4 spring configuration : Human Task is not created"

To view the discussion, visit: https://community.jboss.org/message/806412#806412

--------------------------------------------------------------
this issue is identical to :  https://community.jboss.org/thread/195386?start=0&tstart=0 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; |
|  | } |
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/806412#806412]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130404/ee438611/attachment.html 


More information about the jboss-dev-forums mailing list