Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Web Help Desk (WHD) > Remove the embedded Tomcat version from the error message

Remove the embedded Tomcat version from the error message

Table of contents

Updated June 8, 2017

Overview

This article describes how to remove the version string from Tomcat HTTP error messages by repackaging the catalina.jar file with an updated ServerInfo.properties file.

Environment

  • WHD 12.4.x
  • WHD 12.5.x
  • Linux OS

Steps

  1. Go to <WHD_INSTAL_DIR>/bin/tomcat/lib.
  2. Run the following command to unpack the catalina.jar file:
    jar xf catalina.jar org/apache/catalina/util/ServerInfo.properties
  3. Update the ServerInfo.properties file by changing the server.info line to server.info=Apache Tomcat.
  4. Run the following command to repackage the catalina.jar file:
    jar uf catalina.jar org/apache/catalina/util/ServerInfo.properties
  5. Remove <WHD_INSTAL_DIR>/bin/tomcat/lib/org. This file was created when the ServerInfo.properties file was extracted.
  6. Restart WHD.

 

 

 

Last modified
17:41, 7 Jun 2017

Tags

Classifications

Public