Back out Plan for Applying Maintenance to Web Viewer 12.1

book

Article ID: 106828

calendar_today

Updated On:

Products

CA Output Management Web Viewer

Issue/Introduction

What is the recommended method if we need to restore from backup with Web Viewer 12.1 after applying maintenance?

Environment

Release: CA Output Management Web Viewer 12.1

Component: wbvluw

Apache Derby


Resolution

The Backup directory

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 )

Before backing out Cumulative Maintenance

  1. IMPORTANT: If you are using internal Derby, you need to backup:
    ..../CA_OM_Web_Viewer/apache-tomcat-9.0.31/webapps/CAOMWebViewer12/database/AdminDB
    or
    ....\CA_OM_Web_Viewer\apache-tomcat-9.0.31\webapps\CAOMWebViewer12\database\AdminDB
    as well. 
  2. If you have a custom security exit, back that up also.

Instructions for Back out

  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

Restore database and exit

  1. Restore the Derby database (if used)
  2. Restore the custom security exit (if used)