Steps to upgrade Tomcat which has been packaged with MDM 9.1.X

Steps to upgrade Tomcat which has been packaged with MDM 9.1.X

book

Article ID: KB0075865

calendar_today

Updated On:

Products Versions
TIBCO MDM 9.1.X

Description

This Article is applicable to Tomcat migration (7.X to 9.0.31) which deploys MDM 9.1.X Configurator only.

We may need to upgrade the Apache Tomcat version to latest(9.0.31) due to security vulnerabilities or Apache support policy or some other reasons which has been used to run MDM configurator.

MDM Configurator doesn't depend too much on the Tomcat version so we can use the 9.0.31 (latest) to deploy the Configurator.As The Tomcat(7.x) has been shipped with MDM 9.1.X version as part of application package.So,Some configuration changes needs to be done on Tomcat 9.0.31 version compare to previous versions(7.X) to work MDM Configurator as usual.

Issue/Introduction

We may need to upgrade the Apache Tomcat version to latest(9.0.31) due to security issues or support policy which has been installed through MDM application package.

Environment

MDM 9.1.X + Apache Tomcat 9.0.31(latest version)

Resolution

Here are the steps to Upgrade Tomcat  latest version(9.0.31) to function MDM 9.1.X configurator as expected.
 
 1) Download the Tomcat 9.0.31 Binary Distributions from the Apache site based on your Operating system(Here is the link to download it https://tomcat.apache.org/download-90.cgi). 2) Rename the existing Tomcat folder located under MQ_HOME\Configurator directory to tomcat_bkp. 3) Unzip or untar the downloaded tomcat zip/tar file and copy the extracted folder to MQ_HOME\Configurator directory and name it as "tomcat". Configurator Directory 4) Copy setenv.bat/.sh file from MQ_HOME\Configurator\tomcat_bkp\bin to MQ_HOME\Configurator\tomcat\bin directory. 5) Copy server.xml file from  MQ_HOME\Configurator\tomcat_bkp\conf to MQ_HOME\Configurator\tomcat\conf directory. 6) Modify the server.xml file from MQ_HOME\Configurator\tomcat\conf directory as below.   a) Comment out below property from server.xml      <!-- Listener className="org.apache.catalina.core.JasperListener" / -->   The reason for commenting this property is,referenced class(JasperListener) has been removed on Tomcat 9.0.31 version which was needed on 7.X version.As we have copied the server.xml file from the tomcat 7.x version,So we have to remove that reference from server.xml to avoid the class not found exception(java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener). User-added image  b) Include the property secretRequired="false" under APJ 1.3 definition as below.    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" secretRequired="false" /> User-added image 6) Copy the latest config.war from MQ_HOME to MQ_HOME\Configurator\tomcat\webapps directory. With the above changes we will be able to start the Conifgurator using latest tomcat server through startup.bat/.sh from the tomact\bin directory. Attaching the configured server.xml and setenv.bat of windows for the reference. 

Additional Information

Apache Tomcat,01850632

Attachments

Steps to upgrade Tomcat which has been packaged with MDM 9.1.X get_app
Steps to upgrade Tomcat which has been packaged with MDM 9.1.X get_app