[jboss-user] [jBPM] - Re: Problem with multiple sessions

Maciej Swiderski do-not-reply at jboss.com
Mon Apr 8 00:53:56 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Problem with multiple sessions"

To view the discussion, visit: https://community.jboss.org/message/806930#806930

--------------------------------------------------------------
Gareth, I think it would be best to get complete class(es) that are responsible for managing sessions as I can't get full picture of what you have there.

Looking at the code of startWorkflow first of all I don't see when do you create or load session. Another thing is that you use CMTDisposeCommand and you execute it on ksession - where does the ksession come from, could it be that it refers to another session? Might be better to execute it on ksession that you can get from ProcessCompletedEvent as KnowledgeRuntime.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/806930#806930]

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/20130408/65d32999/attachment.html 


More information about the jboss-user mailing list