000038531 - Patch/upgrade fails with 'java: No such file or directory' error in RSA Identity Governance & Lifecycle

Document created by RSA Customer Support Employee on Mar 5, 2020Last modified by RSA Customer Support Employee on Apr 23, 2020
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000038531
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.0
 
IssueWhen patching or upgrading RSA Identity Governance & Lifecycle, the process fails and the following error is generated in the patch.log file (/home/oracle/{patch}/logs/{patch-date}.log):
 

Preparing the ear file for deployment at Tue Dec 17 19:46:52 EST 2019
– Expanding the CURRENTLY deployed ear to filesystem for further checks to apply patch.
./customizeACM.sh: line 6: /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/bin/java:
No such file or directory
An error occured in the customizeACM command : error code 127
Step failed!
See /home/oracle/Aveksa_7.1.1_P03/logs/7.1.1_P03_2019-12-17-1946.log
for more information.
CauseThis issue may occur if the Java update is applied before the patch or upgrade is performed.  The patch fails because the JAVA_HOME variable is not updated immediately after the Java update. 

This is a known issue reported in engineering ticket ACM-103057.
 
ResolutionThis issue is fixed in RSA Identity Governance & Lifecycle 7.1.1 P06.
 
WorkaroundAfter the failure, the JAVA_HOME variable will have been updated so rerunning the patch/upgrade again will resolve this issue.
  1. Log out of the application server (log out of root)
  2. Log in again as the root user.
  3. Run the patch or upgrade again. 

Attachments

    Outcomes