Comparing the folder structure of jar files from one environment to another
search cancel

Comparing the folder structure of jar files from one environment to another

book

Article ID: 260562

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

At times during an upgrade you have found that back up procedures may leave artifact jar files in an ear that will load and later not allow the product to function properly.

How do you compare files from one server to another.

Environment

Identity Manager 14.x

Resolution

This will require the usage of 3rd party tools, Linux/Unix based diff command can be hard to read, so suggested to use Notepad++ compare tool

You can compare a full ear file by changing to the iam_im.ear folder location:

cd /opt/CA/wildfly-idm/standalone/deployments/iam_im.ear

 

This command on Unix/Linux will create a file with directory contents, this needs to be run on each server you are wanting to compare:

ls -ltr -R >> /tmp/iam_im.ear_contents.txt

 

Windows servers use:  dir /s /b /a:d >> c:\<your temp directory>.txt

Pull the resulting iam_im.ear_contents.txt local to where Notepad++ is located