I have defined an error-page in web.xml:
<error-page>
<exception-type>java.lang.RuntimeException</exception-type>
<location>/errorpage.xhtml</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/errorpage.xhtml</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/errorpage.xhtml</location>
</error-page>
but no redirect to errorpage.jsf is visible.
I see in the logfile:
UT005023: Exception handling request to /calculation/secure/adminPaper.jsf:
The exception here is for example
java.lang.RuntimeException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
need more information?
best regards
Heiko