droolsjbpm/jbpm — pull request #65 by mswiderski (2012-03-27 12:57:37+00:00)
Title: BZ806077 - Process instance doesn't survive server restart

This pull request provides solution to BZ806077 by making TaskManagement session initializer same as ProcesManagement. Meaning regardless of which one of these two classes will be accessed first session will be initialized so both processes and tasks can be worked on properly.

In addition, it brings capability of session reuse by persisting (to serialized object) session id, after restarts session will be loaded from db based on the session id instead of creating new session after each restart. Second commit is optional but I think it can be useful if there are session dependent processes (with timers, business rules, etc)