[jboss-user] [jBPM] - jbpm 5.3 sessions, dispose and SessionInfo table, across machines
Sam Matsoukis
do-not-reply at jboss.com
Fri Nov 9 20:25:39 EST 2012
Sam Matsoukis [https://community.jboss.org/people/matsoukis] created the discussion
"jbpm 5.3 sessions, dispose and SessionInfo table, across machines"
To view the discussion, visit: https://community.jboss.org/message/775850#775850
--------------------------------------------------------------
hello,
I am using jbpm 5.3 in persisted to db. Am able to work through most of the setup, but have come across a "leak" of session ids in the SessionInfo table. This was reported in https://issues.jboss.org/browse/JBPM-3582 https://issues.jboss.org/browse/JBPM-3582 and is scheduled to be addressed in jbpm 6. The SingleSessionCommandService line 360 (jbpm 5.3 final) reads "if ( !(command instanceof DisposeCommand) ) {" where the dispose is explicitly pruned.
To minimize the "leak" above lead me to reuse sessionIds, where meaningful, by loading sessions by Id.
This brings me to my question, spurred by discussion in https://community.jboss.org/thread/168837 https://community.jboss.org/thread/168837 where session usage, thread safeness and scope is covered. My question relates to session usage across machines. Scenario: Machine A and Machine B are failover+loadbalanced duplicates of each other and persist to a common database cluster. May these two machines load sessions with the same sessionId? Allowed or Not?
Thanks in advance for any feedback - sam.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/775850#775850]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121109/ea486461/attachment.html
More information about the jboss-user
mailing list