[jboss-jira] [JBoss JIRA] (WFLY-3543) Definition of error pages in WEB-INF

Stuart Douglas (JIRA) issues at jboss.org
Fri Jul 11 19:40:24 EDT 2014


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

Stuart Douglas resolved WFLY-3543.
----------------------------------

    Fix Version/s: 9.0.0.Alpha1
       Resolution: Done


> Definition of error pages in WEB-INF
> ------------------------------------
>
>                 Key: WFLY-3543
>                 URL: https://issues.jboss.org/browse/WFLY-3543
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Undertow)
>    Affects Versions: 8.0.0.Final, 8.1.0.Final
>            Reporter: Christian Kölle
>            Assignee: Stuart Douglas
>             Fix For: 9.0.0.Alpha1
>
>
> Under Jboss5-7 it was no problem to do the following in web.xml:
>  
> <error-page>
>   <error-code>404</error-code>
>   <location>/WEB-INF/errors/dynamic_error.jsp</location>
> </error-page>
> <error-page>
>   <error-code>500</error-code>
> <location>/WEB-INF/errors/staticFatalError.html</location>
> </error-page>
>  
> If a generic exception is now thrown from a JSF page the behavior is as follows:
> 8.0 : stack overflow exceptions in undertow code; a blank white page in browser
> 8.1 : 404 for the error template itself; white page with small 404 text in top left
>  
> If the static html and jsp are located outside the WEB-INF everything works
> normally.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jboss-jira mailing list