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

jukka sirviö (JIRA) issues at jboss.org
Thu Sep 3 09:30:00 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105172#comment-13105172 ] 

jukka sirviö commented on WFLY-3543:
------------------------------------

seems still open issue in 9.0.1-Final

> Definition of error pages in WEB-INF
> ------------------------------------
>
>                 Key: WFLY-3543
>                 URL: https://issues.jboss.org/browse/WFLY-3543
>             Project: WildFly
>          Issue Type: Bug
>          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.4.11#64026)



More information about the jboss-jira mailing list