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
[
https://community.jboss.org/message/646034#646034]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]