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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to