This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
PRODUCT:
Remedy AR System Server
COMPONENT:
AR System Server
APPLIES TO:
Applies to any BMC product that uses tomcat.
QUESTION:
How to remove tomcat version from tomcat error pages?

ANSWER:
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 ServerInfo.properties file using a preferred editor, for example,
UNIX: vi ServerInfo.properties
Windows: Create empty file using Windows File Explorer
5. Add the below server.info parameter and value as shown below or set the value of this parameter as desired to the ServerInfo.properties file:
server.info=Apache 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:
Article Number:
000170592
Article Type:
Comments