In the log, the OptimisticLockException (OLE) shows up somewhere between the following two
statements:
[SeamPhaseListener] after phase: INVOKE_APPLICATION(5)
| #Several other statements here
| #The exception stack traces followed immediately by the next line:
| [SeamPhaseListener] before phase: RENDER_RESPONSE(6)
Also, the OLE is caused by a org.hibernate.StaleObjectStateException. The OLE causes
org.jboss.tm.JBossRollbackException which then causes java.lang.IllegalStateException. I
try catching all of them in exceptions.xml, but none of them work!
<exceptions>
| <exception class="org.hibernate.StaleObjectStateException">
| <redirect>optimistic lock exception</redirect>
| </exception>
| </exceptions>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006608#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...