1 Reply Latest reply on Jun 7, 2017 6:57 AM by Priyanka Tyagi

    Hiding the Jboss version in JBoss 6.x

    Devanathan Vasu Newbie

      When I encounter an error for my application deployed in JBoss 6.x, the default Jboss error page is displayed which contains the version number as well. How to avoid the version number from being displayed?


      Thanks in advance!



        • 1. Re: Hiding the Jboss version in JBoss 6.x
          Priyanka Tyagi Newbie

          You can configure and deploy custom error pages with the application to handle all the different error response codes. It can be done like below: 


          1) Add <error-page> setting in WEB-INF/web.xml of your web application:




          2) Bundle the specified error pages in your web application:

          | |- WEB-INF
          |   | 
          |   |- web.xml
          |   |- jboss-web.xml
          |- error
            |- 404.html