[jboss-jira] [JBoss JIRA] (WFLY-3543) Definition of error pages in WEB-INF
Christian Kölle (JIRA)
issues at jboss.org
Tue Jun 24 07:09:25 EDT 2014
Christian Kölle created WFLY-3543:
-------------------------------------
Summary: 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.1.0.Final, 8.0.0.Final
Reporter: Christian Kölle
Assignee: Stuart Douglas
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