[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4312) Exception while checking out transaction causing infinite loop trying to render error page

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Jan 20 10:08:48 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated JBSEAM-4312:
------------------------------

    Fix Version/s: The future
                       (was: 2.2.1.CR1)


> Exception while checking out transaction causing infinite loop trying to render error page
> ------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4312
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4312
>             Project: Seam
>          Issue Type: Bug
>          Components: Exception Handling
>    Affects Versions: 2.2.0.CR1
>         Environment: java 6, Tomcat 6, c3p0 0.9.2
>            Reporter: Matthew Lieder
>             Fix For: The future
>
>         Attachments: SeamTestcase.zip
>
>
> We have the following pretty typical exception config in our pages.xml:
> 	<exception>
> 		<end-conversation />
> 		<redirect view-id="/seam/error.xhtml">
> 			<message severity="error">#{org.jboss.seam.handledException}</message>
> 		</redirect>
> 	</exception>
> That works great, except when our database server is down. In that case a com.mchange.v2.resourcepool.TimeoutException is thrown and the exception handler is properly called, but Seam then tries to access the database again when rendering the error page and thus the cycle repeats ad infinitum. I don't believe this is specific to the TimeoutException exception or even to c3p0; this seems to be a pretty general problem.
> There needs to be some way to prevent Seam from trying to start a transaction while rendering the error page, either always or maybe by an attribute on the <exception> tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list