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:
Procedure
-
Download Apache Tomcat from https://tomcat.apache.org/download-90.cgi.
-
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.
-
Stop Talend MDM Server.
-
Rename the existing apache-tomcat folder to
OLDapache-tomcat, for example.
-
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.
-
Remplace the contents of the \mdm\apache-tomcat\conf folder by the content of the OLDapache-tomcat\conf folder.
-
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
-
Copy the following files from OLDapache-tomcat\bin to \mdm\apache-tomcat\bin:
-
For Windows installations, you also need to copy the following
files from OLDapache-tomcat\bin to
\mdm\apache-tomcat\bin:
-
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" />
-
Start Talend MDM Server.