search cancel

How to delete the custom Jar files


Article ID: 253631


Updated On:


CA Identity Suite CA Identity Manager


How to delete the custom Jar files permanently without any backup


Virtual Appliance 


Errors or permission issues while deleting the custom Jar files


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

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



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 get_app