This content has been marked as final. Show 2 replies
Calls to stateful session beans are not synchronized according to the ejb specification. Scott Stark wrote in another thread:
Change the stateful session interceptor to synchronize calls instead of throwing an exception or add a client interceptor that does the synchronization on the client side.. The book JBoss Administration and Development shows how to do this. Other solution: Just synchronize the ejb-calls somehow in your web application. Or implement the SessionSynchronization interface (bean managed transaction) and do something there. Did you play with transaction settings in the ejb descirptor? Hope this helps.
See ejb specification, chapter 7.5.6, last paragraph.