KBI 311405 Issue: Argent for Java Failed To Connect To JVM In Windows Server 2012

Version

Argent Advanced Technology All Versions

Date

Thursday, 2 June 2016

Summary

Argent for Java fires exception while connectivity test and Rule execution in Windows Server 2012

Technical Background

Argent for Java uses APIs in JVM.dll to connect to a JVM and execute the Rules

JVM.dll comes with Java Development Kit (JDK)

If Argent for Java fires exception while connecting to a JVM with the following error message:

“Failed to load dll ‘C:\Program Files (x86)\Java\jdk1.8.0_45\jre\bin\server\jvm.dll’ Microsoft error code: 126” it is due to libraries required to load JVM.dll are missing in the host server

Please see the following screenshot:

Following screenshot shows the missing dependency files detected using Dependency Walker

The most common missing file is MSVCR100.DLL

MSVCR100.DLL is a part of latest Microsoft Visual C++ 2010 Redistributable Package

Resolution

Download and install Microsoft Visual C++ 2010 Redistributable Package from

https://www.microsoft.com/en-in/download/details.aspx?id=26999