How to upgrade catalog's tomcat version to tomcat 7.0.75 and up

Document ID : KB000016164
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

By default ,  Service Catalog uses  the tomcat version which was shipped with it when Service Catalog was released at that time .  Due to the security vulnerability issues with tomcat itself , you may need to upgrade tomcat that catalog is using . 

Question:

How can I upgrade tomcat that catalog is using to tomcat 7.0.75 and up  version  ? 

Environment:
catalog 14.1.04 , 14.1.04.1 , 17.0
Answer:

Latest tomcat version resolved some security vulnerability issues.   It is needed to upgrade tomcat that catalog is using .    With catalog 14.1 CP4 ( i.e. 14.1.04 ) version and up ,  you should be able to have catalog point to the latest tomcat7 version ,  for example  : 7.0.78 , without any problem . 

 

1. download tomcat 7.0.78 from https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.78/bin/

    Please get apache-tomcat-7.0.78-windows-x64.zip for 64 bit

2.  On catalog server ,  go to catalog installation home folder ,  double click usm.cmd to invoke Service catalog's command line 

(Note , this is important.  you need to use catalog's command line  instead of simply DOS command line ) 

3.  stop catalog service 

4.   on Service Catalog's command line ,  issue the following command :

           ant upgrade-tomcat

for example :

-------------------------------------------

C:\Program Files\CA\Service Catalog>ant upgrade-tomcat

Buildfile: build.xml

_start-maintenance-log:

[mkdir] Created dir: C:\Program Files\CA\Service Catalog\conf-backup\20160817-1533

[echo] Maintenance started: Wednesday August 17, 2016 03:33:34 PM IST by Administrator

_services-warning: [echo] Please shutdown all related services before continuing

[input] Press Return key to continue...

upgrade-tomcat:

[input] Location of new tomcat zip:

C:\temp\apache-tomcat-7.0.78-windows-x64.zip

[input] What is the version of the new Apache Tomcat (e.g. 6.0.38):7.0.78

[input] Are you sure you want to upgrade tomcat to 7.0.61? (y, n)

Y

[unzip] Expanding: C:\temp\apache-tomcat-7.0.78-windows-x64.zip into C:\Users\ADMINI~1\AppData\Local\Temp\1\tomcat-7.0.78

[mkdir] Created dir: C:\Program Files\CA\Service Catalog\embedded\tomcat-20160817-1533

[echo] Copying the current tomcat to C:\Program Files\CA\Service Catalog/embedded/tomcat-20160817-1533

copy] Copying 653 files to C:\Program Files\CA\Service Catalog\embedded\tomcat-20160817-1533

[copy] Copied 113 empty directories to 2 empty directories under C:\Program Files\CA\Service Catalog\embedded\tomcat-20160817-1533

[echo] Copied the current tomcat to C:\Program Files\CA\Service Catalog/embedded/tomcat-20160817-1533

[copy] Copying 637 files to C:\Program Files\CA\Service Catalog\embedded\tomcat

[echo] Apache Tomcat 7.0.78 has been successfully installed.

BUILD SUCCESSFUL

Total time: 42 seconds

C:\Program Files\CA\Service Catalog>

---------------------------------------------------------------------------------

 5. restart catalog service 

 

 

Additional Information:

Regarding how to check the tomcat version that your catalog server is using ,  please check TEC1492695