5 Replies Latest reply on Nov 15, 2010 11:02 AM by peterj

    JBoss 5.1 how to change the default error pages

    m.wigge

      Hello!

       

      I would like to know how to change the default error pages in JBoss 5.1. I know that there is a way to change them in my application and that works fine but last week we had a security test and caused by an internal error the tomcat printed an error page with "HTTP Status 500" and a long list with exceptions. Because of these exceptions it is possible to know which (application)server we are using and the tester was able to make server specific attacks.

       

      I guess there was a possibility in JBoss 4 (changing server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml).

       

      Thanks in advance!

       

      Best regards

       

      Mike