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

Richard Evans do-not-reply at jboss.com
Thu Jun 28 14:25:53 EDT 2012


Richard Evans [https://community.jboss.org/people/r3vans] created the discussion

"Re: Multiple Threads on a Stateful Session"

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

--------------------------------------------------------------
Hello again.

Since I wrote I think i have made some progress. I think it points at the same problem as you suggest but my approach is a bit different. 

I have a single thread starting the process and then handlers are as above. I originally had an active transaction when starting the process and now I have ensured that this transaction is completed before starting the process. There is now no txn running when I call startProcess or completeWorkItem. I think this ensures that jbpm manages it's own transactions and things are looking up so far.

Does that make sense?

Thanks for your help.
Richard
--------------------------------------------------------------

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

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/b4e0dd85/attachment.html 


More information about the jboss-user mailing list