[jboss-user] [jBPM] - Re: Transaction Problems jBPM5
Maciej Swiderski
do-not-reply at jboss.com
Thu Feb 7 10:06:03 EST 2013
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: Transaction Problems jBPM5"
To view the discussion, visit: https://community.jboss.org/message/796544#796544
--------------------------------------------------------------
As Vladimir has already mentioned this is most likely caused by additional thread (non ee managed thread) started to completeWorkItem after task was completed. As WebSphere does not allow to access UserTransaction from a non managed thread thus you run into that issue. When using EJB I would recommend to use on of the following strategies for task service:
- use local task service that will participate in the same transaction as runtime engine and no additional threads will be created
- use JMS as message transport between runtime engine and task service using EJB (stateless to send messages and MDB to receive and process messages)
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796544#796544]
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/20130207/e9830aa3/attachment.html
More information about the jboss-user
mailing list