Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

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

Tags

Classifications

Public