[jboss-user] [JBoss Seam] - Re: OptimisticLockException
lightbulb432
do-not-reply at jboss.com
Thu Jan 25 18:53:22 EST 2007
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#4006608
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006608
More information about the jboss-user
mailing list