EAP 7 does not display custom error page for custom exception type if JSP config is set to development mode
Issue
- We configure a custom error page for a custom exception type in our application's
WEB-INF/web.xml
:
<error-page>
<exception-type>com.redhat.exception.CustomException</exception-type>
<location>/error.jsp</location>
</error-page>
- We see that JBoss does not display this page as expected when the JSP config is set to development mode in the undertow subsystem:
<jsp-config development="true"/>
Environment
- JBoss Enterprise Application Platform (EAP) 7.3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.