Changing default error pages on JBoss/Tomcat

Solution Unverified - Updated -

Issue

  • The default 404 and 500 error pages also leak too much information according to our PCI auditors.  The 404 page returns, for instance "JBossWeb/2.0.0.GA_CP" and the 500 error page provides a stack trace.  How can those be remediated?
  • How to configure tomcat 7 general error page for all applications

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3

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