[jboss-user] [jBPM] - Re: Multiple Threads on a Stateful Session

Maciej Swiderski do-not-reply at jboss.com
Thu Jun 28 12:38:18 EDT 2012


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

"Re: Multiple Threads on a Stateful Session"

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

--------------------------------------------------------------
Where do you run this -  in an application server?the null pointers are probably caused by transaction synchronization that disconnects process instance from the the session. What you could try it to manage your transaction in the async thread, meaning that you control start and commit of the transaction so all the work done by jbpm will join that single transaction.

Would be good if you could provide some tests/simple app that illustrates this so I could give a try to look into what is going on there. I believe this is kind of continuation of the other threads about multiple sessions managements, right?

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

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

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/20120628/14adeac6/attachment.html 


More information about the jboss-user mailing list