Remove Tomcat Version Info from SPS Error Page

Document ID : KB000014089
Last Modified Date : 14/02/2018
Show Technical Document Details

When the CA Access Gateway (SPS) throws an error, it reports the Tomcat version on the Error Page. For example: 

HTTP/1.1 400 Bad Request

Apache Tomcat/7.0.70 - Error Report


How to remove the Apache Tomcat Version Info from SPS Error Pages?

CA Access Gateway: All Versions

1. Stop the SPS services

2. Backup the existing catalina.jar from the Tomcat\lib directory

3. Open a Command Prompt and go the Tomcat\lib directory

4. Run the following command to unpackage the jar file:

jar xf catalina.jar org/apache/catalina/util/

5. Now navigate to the file and modify the Tomcat/7.0.70 to remove the version info. For example: Tomcat. Save the file.

6. Run the following command to re-package the jar file:

jar uf catalina.jar org/apache/catalina/util/

7. Delete the org/apache/catalina/util/ folder structure

8. Restart the SPS services