How to upgrade Java and TomCat for CA Asset Portfolio Management 12.9
Vulnerability Scan was triggered for AMS on Java and TomCat versions.
1- stop the AMS service
2- download the latest JDK version (e.g. jdk-8u102-windows-i586) ... and install it in the Application Server (where AMS is installed);
3- update the environment variables JRE_HOME and JAVA_HOME to point to the new version of Java;
4- open a new Command Prompt window and execute the below command lines (update the path in the command line B according to your environment):
A- SC DELETE AMS
A.1(See below.)
B- cd C:\Program Files (x86)\CA\SharedComponents\AMS\Tomcat\bin
C- cmd /c service.bat install AMS
5- refresh the services list in services.msc
6- start AMS service, set it to Automatic and test the problem."
A.1 Prior to running 4B above download TomCat (e.g. 8.5.5) and extract it to a new TomCat folder.
Renamed the existing TomCat folder and copied in the new one.
From the Tomcat backup, navigate to webapps, copy the AMS folder, and paste it in the new Tomcat – webapps folder.
Update the ports in \Program Files (x86)\CA\SharedComponents\AMS\TomCat\conf\server.xml to match the ports found in the old TomCat folder. \Program Files (x86)\CA\SharedComponents\AMS\TomCatOld\conf\server.xml
resumed with 4B.