Enabling custom error pages globally (for all deployments) on EAP 6.3 and later
Issue
-
We used to configure custom error pages for all applications on EAP 4/5 in the global
web.xml
which is located in$JBOSS_HOME/server/$PROFILE/deployer/jbossweb.deployer/web.xml
. -
Now there is no global
web.xml
on EAP 6 or 7. Is there still a way to configure custom error pages for all applications globally without having to define the error pages in each application'sWEB-INF/web.xml
individually?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3+
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.