# TPS-5352

| Info | Value |
| --- | --- |
| Patch Name | Patch\_20221014\_TPS-5352\_v1-8.0.1 |
| Release Date | 2022-10-14 |
| Target Version | 20211109\_1610-V8.0.1 |
| Product affected | Jaspersoft Administrator Center |

## Introduction

This patch is individual. It includes all released fixes on TPS-5329 for Administrator Center 8.0.1.

**NOTE**: To download this patch, liaise with your Support.

## Prerequisites

Consider the following requirements for your system:

* Administration Center 8.0.1 must be installed.

## Installation

1. Stop all Jaspersoft instances. Repeat the following steps for each instance.

2. Create a patch directory.

3. Unzip patch file you received from support into this directory, then unzip the org.jasper.administrator.war file as org.jasper.administrator folder. (Note: Please rename org.jasper.administrator-8.0.1.war if your old application folder has a different name. Set the same name as your old jasper application name.)

4. Create a backup directory.

5. Copy folder `<Tomcat>`/webapps/org.jasper.administrator into the backup directory. **DO NOT** place org.jasper.administrator backup folder into webapps directory.

6. In `<Tomcat>`/webapps/ directory, remove the previous org.jasper.administrator folder, then copy the org.jasper.administrator folder unzipped at step 3 and paste in the current directory.

7. Restore configuration by replacing `<Tomcat>`/webapps/org.jasper.administrator/WEB-INF/classes/configuration.properties and quartz.properties with the same files that are stored in your backup directory.

   **Note**:

   * Make sure that no other instances of webapp are deployed into Tomcat's webapps folder. Make sure your backup folder has NOT been stored in `<Tomcat>`/webapps folder.
   * Restore DB driver by copying driver to `<Tomcat>`/webapps/org.jasper.administrator/WEB-INF/lib (available in backup directory).
   * If your database is H2 db and embedded in web folder (`<Tomcat>`/webapps/org.jasper.administrator/WEB-INF/database by default), don't forget to restore H2 db by replacing this folder with the exact corresponding folder from your backup directory.
   * H2 version in this patch is updated due to security reasons. To migrate to new version of H2, please follow the documentation: [https://help.talend.com/r/en-US/8.0/migration-upgrade-guide-big-data/upgrading-the-h2-database-after-changing-h2-driver-to-21210](https://help.qlik.com/talend/r/en-US/8.0/migration-upgrade-guide-big-data/upgrading-the-h2-database-after-changing-h2-driver-to-21210) .
   * If works with SSO, you should restore the IDP Metadata file (`<Tomcat>`/webapps/org.jasper.administrator/WEB-INF/classes/IDPMetadata.xml) from your backup directory.
   * After the step 6, log4j 1.x libraries should have been removed from the folder: `<Tomcat>`/webapps/org.jasper.administrator/WEB-INF/lib.

8. Restart the Tomcat.

   **Note**:

   * It's recommended to clear browser cache after patch has been applied.
   * Log4j CVE-2021-44228 & CVE-2021-45046 fixed on Patch\_20211223\_TPS-5053\_v1: please rebuild the jobs with latest Studio patch.
   * New LDAP connection timeout parameter: `ldap.config.timeout`. You can change it by editing the value of the ldap.config.timeout property in milliseconds in the database configuration table.