How to Upgrade Apache Tomcat used by Talend MDM Server? - 7.2

EnrichVersion
7.2
EnrichProdName
Talend Data Fabric
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend MDM Server

Upgrading Apache Tomcat used by Talend MDM Server

This procedure explains how to upgrade a point release of Apache Tomcat. For more information on the supported releases, see Compatible web application servers in the Talend Data Fabric Installation Guide.

This procedure assumes the default installation path for Apache Tomcat with Talend MDM Server. If Apache Tomcat was installed in a different location, make the appropriate path changes.

To upgrade Apache Tomcat to a newer release, the new files must be downloaded and must replace the existing installation. Some files from the following folders will need to be migrated:

  • \mdm\apache-tomcat\conf

  • \mdm\apache-tomcat\webapps

  • \mdm\apache-tomcat\bin

Procedure

  1. Download Apache Tomcat from https://tomcat.apache.org/download-90.cgi.
  2. Check the Apache Tomcat configuration file differences from the Apache Tomcat migration guide to verify there are no impacting differences.

    If changes are needed for the versions being upgraded, see the Apache Tomcat documentation for guidance.

  3. Stop Talend MDM Server.
  4. Rename the existing apache-tomcat folder to OLDapache-tomcat, for example.
  5. Extract the new Apache Tomcat version to the apache-tomcat folder using 7-Zip (Windows recommended) or Linux default unzipper.

    Make sure the file permissions are set appropriately and are the same permissions set for OLDapache-tomcat.

  6. Remplace the contents of the \mdm\apache-tomcat\conf folder by the content of the OLDapache-tomcat\conf folder.
  7. Remplace the contents of the \mdm\apache-tomcat\webapps folder by the content of the OLDapache-tomcat\webapps folder.
    The following five folders are already existing from Apache Tomcat and can be deleted if you do not need them in your production environment:
    • docs

    • examples

    • host-manager

    • manager

    • root

  8. Copy the following files from OLDapache-tomcat\bin to \mdm\apache-tomcat\bin:
    For Windows users:
    • service.bat

    • setenv.bat

    For Linux users:
    • setenv.sh

  9. For Windows installations, you also need to copy the following files from OLDapache-tomcat\bin to \mdm\apache-tomcat\bin:
    • tomcat9.exe

    • tomcat9w.exe

  10. If the AJP connector is not used, when using the default installation for example, it is strongly recommended to comment the following line from the \mdm\apache-tomcat\conf\server.xml file.
    <Connector port="8109" protocol="AJP/1.3" redirectPort="8543" />
  11. Start Talend MDM Server.