When trying to install vRealize Automation. You might Encounter the Issue where the Installation of vRA fails at 50 Percent, with the Error “Installation failed, ExitCode:5500” during the Database Installation.
The first way to troubleshoot this issue is by looking into the Logs:
On the IAAS Server you can refer to the Log: C:\Program Files (x86)\VMware\vCAC\Management Agent\Logs\InstallLogs\vCAC-Config.log
[UTC:2019-12-25 04:22:42 Local:2019-12-24 20:22:42] :================= Logging started at [UTC:2019-12-25 04:22:42 Local:2019-12-24 20:22:42] ================== [UTC:2019-12-25 04:22:42 Local:2019-12-24 20:22:42] :Product version: 7.0.1.6851. Info : [UTC:2019-12-25 04:22:42 Local:2019-12-24 20:22:42] :Initialized configuration property for feature Database. Node read DATABASE_INSTANCE. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] : "\bin\java.exe" -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://dc.ashu.com/"vra";ssl=request releaseLocks Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] : The system cannot find the path specified. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml(28,5): error MSB3073: The command ""\bin\java.exe" -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://dc.ashu.com/"vra";ssl=request releaseLocks" exited with code 3. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (RunLiquibase target(s)) -- FAILED. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" (BuildDB target(s)) -- FAILED. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :Build FAILED. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :"C:\Program Files (x86)\VMware\vCAC\Server\Database\DeployVMPS.xml" (BuildDB target) (1) -> Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :"C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml" (RunLiquibase target) (2) -> Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :(RunLiquibase target) -> Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] : C:\Program Files (x86)\VMware\vCAC\Server\Database\Liquibase.xml(28,5): error MSB3073: The command ""\bin\java.exe" -Djsse.enableCBCProtection=false -Djava.library.path="C:\Program Files (x86)\VMware\vCAC\Server\Database" -cp "liquibase.jar;jtds-1.3.1.jar" liquibase.integration.commandline.Main --driver=net.sourceforge.jtds.jdbc.Driver --url=jdbc:jtds:sqlserver://dc.ashu.com/"vra";ssl=request releaseLocks" exited with code 3. Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] : 0 Warning(s) Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] : 1 Error(s) Info : [UTC:2019-12-25 04:22:46 Local:2019-12-24 20:22:46] :Time Elapsed 00:00:03.96
From the Errors, we can see that we are getting Error code 3. which as per the ERR Tool is:
PS C:\> .\Err.exe 3 # for hex 0x3 / decimal 3 ERROR_PATH_NOT_FOUND winerror.h # The system cannot find the path specified.
For More information on how we can find the reason for Error Code please refer: Error.exe : A solution to all Error Code
Now we know that the Installation is failing on vRA Installation unable to Find the Path to Java:
Solution:
In order to resolve
this issue, we need to make sure that we are following the design
Recommendation for JAVA which is mentioned in the Article:
- Java Runtime Environment (JRE) executable jre-8u191-windows-x64 or later.
- Set the JAVA_HOME environment variable to the Java installation directory.
- Update the PATH system variable to include the bin folder of the Java installation directory.
- Set the JAVA_HOME environment variable to the Java installation directory.
- Open the Computer Properties or Type sysdm.cpl on the run command.
- Select Environment Variable.
- Open User Variable and add
the Location to your Java directory:
Variable
Name: JAVA_HOME
Value:
C:\Program Files\Java\jre1.8.0_231
Note: Your folder directory might change based on the version of Java that you are going to install.
- Post this you also need to add the Path Variable of Java Bin Folder on the Path Parameter in Environment Variable.
Append the below file by adding “;” and then add the Bin folder Location, which in my case is C:\Program Files\Java\jre1.8.0_231\bin
- Once this is done you can delete the Database with the name VRA as the Installation will recreate this Database:
Post this you can restart the Installation and your Installation will succeed.