Vladimir Stankovic [
https://community.jboss.org/people/svlada] created the discussion
"Re: Restore JBPM session"
To view the discussion, visit:
https://community.jboss.org/message/794576#794576
--------------------------------------------------------------
What are best practices for storing SessionID?
I am using Spring and my KnowledgeSession is defined as follows:
| | <jbpm:ksession id="ksession" type="stateful"
kbase="kbase" > |
| |
| <jbpm:configuration> |
|
| | <jbpm:jpa-persistence> |
|
| | <jbpm:transaction-manager ref="txManager"/> |
|
| | <jbpm:entity-manager-factory ref="myEmf"/> |
|
|
| </jbpm:jpa-persistence> |
| | </jbpm:configuration> |
| | </jbpm:ksession> |
When I restart server, new SessionID is generated and I am able to retreive User tasks
with this new SessionID.
Is this appropriate way to restore session, or some other mechanism (custom Session
Managment) must be employed?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/794576#794576]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]