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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content