search cancel

How to delete the custom Jar files

book

Article ID: 253631

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

How to delete the custom Jar files permanently without any backup

Environment

Virtual Appliance 

Cause

Errors or permission issues while deleting the custom Jar files

Resolution

Note: This patch will be used to remove the specified files permanently without any backup, which is mentioned in the delCustomJars.txt.

This fix consists of two files for fix(HF_CUSTOM_JAR_DEL.tgz.gpg and delCustomJars.txt), this is a universal patch, which can be applied to any Virtual Appliance Identity Manager releases of Centos 8.

With this, you can delete any number of files to iam_im.ear deployment folder.

Here delCustomJars.txt is a sample file, where we can specify the list of files with their absolute path, which needs to be deleted from iam_im.ear deployment folder.

Here HF_CUSTOM_JAR_DEL.tgz.gpg is the patch file, which deletes the list of files mentioned in the delCustomJars.txt from the iam_im.ear deployment folder.

Please follow the below steps to delete the custom jars from iam_im.ear deployment folder

Steps:
1) Update the delCustomJars.txt file with the files that need to be deleted with their absolute path, and copy delCustomJars.txt under /home/config folder

    Eg: /opt/CA/wildfly-idm/standalone/deployments/iam_im.ear/user_console.war/WEB-INF/lib/custom1.jar

        /opt/CA/wildfly-idm/standalone/deployments/iam_im.ear/user_console.war/WEB-INF/lib/custom2.jar

          ...etc

2) apply the patch(patch_vapp HF_CUSTOM_JAR_DEL.tgz.gpg), it automatically deletes the listed files in the delCustomJars.txt file, from iam_im.ear deployment directory.

3) Repeat Step 1 and Step 2 on all the nodes, wherever it is necessary.

Attachments

DE546122_TF_1667544335509.zip get_app