Installation of RSA Identity Governance and Lifecycle 7.0.1 P03 fails with a groovy error
2 years ago
Originally Published: 2017-05-25
Article Number
000050013
Applies To
RSA Product Set:  Identity Governance and Lifecycle
RSA Product/Service Type: Appliance
RSA Version/Condition: 7.0.1
 
Issue
The installation of 7.0.1 P03 fails and shows this message in the patch log file:
Wildfly is running

Repackaging the aveksa.war and aveksa.ear

Archive name is: aveksa_7.0.1_116052_P03-2017-May-19-12.26.ear

Creating aveksa.ear file for deployment

Exception while building deployment ear file. 

Caught: groovy.lang.MissingPropertyException: No such property: ARCHIVE_DIR$ for class: CustomizeACM
groovy.lang.MissingPropertyException: No such property: ARCHIVE_DIR$ for class: CustomizeACM
	at CustomizeACM.deploy(CustomizeACM.groovy:366)
	at CustomizeACM.run(CustomizeACM.groovy:100)
An error occured in the customizeACM command : error code 1
Newly patched ear file has now been deployed to Application Server

Please note that this error does not show on the command line output. The command line output implies there was no error, but no ear with the patch is deployed.

 
Cause
The suspected cause is a corrupted ear file.
Resolution
In this case, the solution was to redeploy an earlier ear file, and then the installation worked.

The patch installation will use the CURRENTLY_DEPLOYED_ARCHIVE from /home/oracle/deploy/wildfly_deployment.properties.

You can force the redeploy of the INITIAL_ARCHIVE in the same file.
Workaround
  1. Navigate to /home/oracle/deploy.
  2. Run the customizeACM.sh.
cd /home/oracle/deploy
customizeACM.sh -c /home/oracle/archive/aveksa_7.0.1_116052-2017-Jan-25-13.16.ear
(which was the INITIAL_ARCHIVE)

Customization dir being cleaned: /tmp/customizeACM

Unzipping aveksa.war and aveksa.ear
    [unzip] Expanding: /home/oracle/archive/aveksa_7.0.1_116052-2017-Jan-25-13.16.ear into /tmp/customizeACM

Ready for customization. Please go to /tmp/customizeACM to continue modifications.
  1. Then redeploy:
customizeACM.sh -d
  1. Then reinstall the patch.