Enabling custom error pages globally (for all deployments) on EAP 6.3 and later

Solution Verified - Updated -

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's WEB-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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.