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 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.