We need a way to compare the folder structure of jar files from one environment to another
search cancel

We need a way to compare the folder structure of jar files from one environment to another

book

Article ID: 260562

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

At times during an upgrade we have found that customer 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 we compare files from one server to another.

Environment

Release : 14.4

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