Maintenance Build Back out Instructions for Web Viewer 12.1

Document ID : KB000106828
Last Modified Date : 17/07/2018
Show Technical Document Details
Introduction:
What is the recommended method if we need to back out a maintenance build with Web Viewer 12.1?
Instructions:
We recommend using the backup that is made during the maintenance install. You are prompted on whether to backup when installing a maintenance build.

The backup directory contains the two Web Viewer .war files. Backups are by default stored in 
....../CA_OM_Web_Viewer/backups   (.....\CA_OM_Web_Viewer\backups )
  1. Stop the Tomcat Service
  2. In your <Tomcat Path>/webapps directory
    1. – delete the /CAOMWebViewer12 and /castylesr5.1.3 folders from the /webapps directory
    2. – copy the 2 war files CAOMWebViewer12.war and castylesr5.1.3.war files from the backup folder of choice into  the /webapps directory
  3. Restart the Tomcat Service
    1. – This will deploy the war files and create the new CAOMWebViewer12 and castylesr5.1.3 directories
A more important question is what you they are using for a database. If you are using internal Derby, you need to backup: 
..../CA_OM_Web_Viewer/apache-tomcat-8.5.24/webapps/CAOMWebViewer12/database/AdminDB 
or
....\CA_OM_Web_Viewer\apache-tomcat-8.5.24\webapps\CAOMWebViewer12\database\AdminDB 

as well. 
If you are using an external database, you don't have to worry about the database.  If you have a custom security exit, be sure to back that up.