Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Multiple sessions and thread safety using jBPM persistence"
To view the discussion, visit:
https://community.jboss.org/message/773625#773625
--------------------------------------------------------------
Recently an issue was resolved that looks like you could ran into - when same process
instance is manipulated by two sessions optimistic lock exception (StaleObject...) can be
seen as persistence context was not cleared on transaction end meaning cached object was
used on next command execution. It was fixed in 5.4 so soon should be available as Final,
meanwhile you could give a try with CR1.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/773625#773625]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]