Robert Atherton:
I am trying to understand and reproduce the problem. I will start with the simple example in http://community.jboss.org/people/bpmn2user/blog/2011/03/25/jbpm5--persistence-hello-process-example and see if I can reproduce the issue.
How do I proceed to re-create the problem?
1.) Start the task server (TaskServer.java).
2.) Start the tasks (e.g modify the code in ProcessTest.java) and shutdown the task server before completing the tasks.
3.) Start the task server and see if the task started in Step2 can be completed (i.e status is set to 'Completed' in database)