Skip to main content Skip to complementary content

Upgrading Apache Tomcat used by Talend Dictionary Service

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

This procedure assumes the default installation path for Apache Tomcat with Talend Dictionary Service. 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 copied or moved:

  • \dq_dict\apache-tomcat\conf
  • \dq_dict\apache-tomcat\app

Procedure

  1. Download Apache Tomcat from Apache Tomcat website.
  2. Compare the Apache Tomcat configuration file against 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 Dictionary Service.
  4. Rename the existing apache-tomcat folder with a name that does not start with apache, OLDapache-tomcat for example.
  5. Extract the new Apache Tomcat version to the apache-tomcat folder, using 7-Zip for example.

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

  6. Copy the following files of OLDapache-tomcat\conf to \dq_dict\apache-tomcat\conf:
    • audit.properties
    • data-quality.properties
  7. Copy OLDapache-tomcat\conf\Catalina\localhost\ROOT.xml to \dq_dict\apache-tomcat\conf\Catalina\localhost\.
  8. Edit the \dq_dict\apache-tomcat\server.xml file with this property if needed:

    <Connector port="8187" protocol="HTTP/1.1" connectionTimeout="20000" throwOnFailure="true" redirectPort="8550" maxParameterCount="1000"/> <Server port="8112" shutdown="SHUTDOWN">

  9. Copy OLDapache-tomcat\app, with the dataquality-semantic-producer.war file, to \dq_dict\apache-tomcat.
  10. The following five folders already exist and can be deleted if you do not need them in your production environment:
    • docs
    • examples
    • host-manager
    • manager
    • root
  11. Start Talend Dictionary Service.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!