Remove Tomcat version from error pages

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    Remedy AR System Server


    AR System Server


    Applies to any BMC product that uses tomcat.


    How to remove tomcat version from tomcat error pages?

    User-added image


    You can remove the tomcat version from the tomcat error pages by following the next steps:

    1. Navigate to
       UNIX: <TomcatFolder>/lib
       Windows: <TomcatFolder>/lib
    2. Create the "org/apache/catalina/util " directory under here by running:
        UNIX:  mkdir -p org/apache/catalina/util
        Windows: Create the directories on Windows File Explorer
    3. Navigate to the newly created directory by running:
       UNIX: cd <TomcatFolder>/lib/org/apache/catalina/util
       Windows: Navigate to the <TomcatFolder>/lib/org/apache/catalina/util using File Explorer
    4. Create a file using a preferred editor, for example,
       UNIX: vi
       Windows: Create empty file using Windows File Explorer
    5. Add the below parameter and value as shown below or set the value of this parameter as desired to the file: Tomcat Version X

    6. Restart the tomcat service

    7. Launch the Internet Browser and enter some error Web Page to verify that the Apache Version is not displayed, for example:
      - http://<hostname>:<port>/Error/

    Now the error pages will look like this:

    User-added image

    Article Number:


    Article Type:


      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles