3.8 Preventing the Error Page to Display the Tomcat Version

Accessing a non-existing page or providing wrong credentials on a protected page throws an HTTP 401 error with the Tomcat version. This issue happens on the Windows platform in the following scenarios:

  • When Identity Server is the only component installed on the Windows server.

  • Access Gateway Service is installed on Windows.

This issue does not happen on the Linux platform.

Perform the following steps to stop error pages to display the Tomcat version:

  1. Go to C:\Program Files\Novell\Tomcat\lib and run "C:\Program Files\Java\<jdk version>\bin\jar" -xf catalina.jar

  2. Move catalina.jar to another folder.

  3. Go to C:\Program Files\Novell\Tomcat\lib\org\apache\catalina\util and edit the serverInfo.properties file:

    1. Remove Apache Tomcat/7.0.23 from the line server.info=.

    2. Remove 7.0.23.0 from the lineserver.number=.

    3. Remove Nov 20 2011 07:36:25 from the line server.built=.

  4. Go to C:\Program Files\Novell\Tomcat\lib and run jar -cf catalina.jar META-INF org.