[jboss-user] [jBPM] - Re: Problem in JPAWorkItemManager when completing a task

Juan Gago do-not-reply at jboss.com
Wed Jan 11 11:39:06 EST 2012

Juan Gago [https://community.jboss.org/people/juan.gago] created the discussion

"Re: Problem in JPAWorkItemManager when completing a task"

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

I am using org.jbpm.task.service.TaskClient, and it works fine. The TaskServer receives the message and set task status to completed (updates database), but the problem occurs in org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.GetCompletedTaskResponseHandler.execute(Task task) method. It tries to execute session.getWorkItemManager().completeWorkItem(workItemId, results), but fails because the EntityManager connection is closed.

Are you implementing a TaskClient? I don't understand how you can open the EntityManager connection in the TaskClient.

Thanks for your answer

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120111/161a8002/attachment.html 

More information about the jboss-user mailing list