vRA Installation Failed with the Err “Installation failed, ExitCode:5500”

vRA Installation Failed with the Err “Installation failed, ExitCode:5500”

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:

https://docs.vmware.com/en/VMware-Validated-Design/5.0/com.vmware.vvd.sddc-deploya.doc/GUID-10C1C21F-153E-4A14-8FF8-20F5430D403E.html

  • 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.

  1. Set the JAVA_HOME environment variable to the Java installation directory.

  • Open the Computer Properties or Type sysdm.cpl on the run command.

System • Control Panel 3ntroI Panel Home Device Manager Remote settings Advanced system settings • System and Security • 5 View basic information about your computer Windows edition Windows Server 2008 R2 Datacenter Copyright @ 2009 Microsoft Corporation. All rights reserved. Service Pack I System Processor: Installed memory (RAM): Intel(R) Xeon(R) Gold 6138 cpu @ 2. OOGHz 64-bit Operating System 2.00 GHz System type: Pen and Touch: Computer name, domain, Computer name: Full computer name: Computer description: Domain: No Pen or Touch Input is available For this Display and workgroup settings vralaas vraiaas.ashu.com ashu.com r-r¯r- Change settings

  • 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.

Ashutosh Dixit

I am currently working as a Senior Technical Support Engineer with VMware Premier Services for Telco. Before this, I worked as a Technical Lead with Microsoft Enterprise Platform Support for Production and Premier Support. I am an expert in High-Availability, Deployments, and VMware Core technology along with Tanzu and Horizon.

Leave a Reply