search cancel

Upgrade Apache-Tomcat for the CA 7 Web Client (Linux)

book

Article ID: 201824

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

How to upgrade Apache-Tomcat manually on Linux

Environment

Release : 12.1

Component : CA-7

Resolution

1- download new tomcat version
2- put the new tomcat version in the CA 7 Web Client directory
3- issue the following command to uncompressed the file

    tar -xf apache-tomcat-8.5.58.tar.gz
4- rename the older tomcat version to ".old"
5- go to webapps directory in old version and copy .war file and the ca7waihelp_appl.war to the new tomcat webapps directory
6- copy entire Webclientconf directory to new tomcat directory
7- copy the content.xml and server.xml to the new tomcat conf directory / replace option
9- go to the /etc/rc.d/init.d  edit this file and change waitomcatdir=/u/users/cai/ca7webclient1210/apache-tomcat-8.5.58  (to the new tomcat)
10- change permission on tomcat directory and make recursive
11- copy 4 files from old tomcat/bin directory 
        setclasspath.sh
        setenv.sh
        shutdown.sh
        startup.sh
12- startup tomcat