hawkagent and hawkconsole doesn't work with an fresh install on windows server 2016

hawkagent and hawkconsole doesn't work with an fresh install on windows server 2016

book

Article ID: KB0075068

calendar_today

Updated On:

Products Versions
TIBCO Hawk 6.2.x

Description

Install Hawk 6.2.1 on windows server 2016, Not able to start hawkagent and hawkconsole from windows NT service. Start them from cmd, you would see the exception below:

C:\tibco\tibco\cfgmgmt\hawk\bin>tibhawkagent.exe
Lib name C:/tibco/tibcojre64/11/bin/server/jvm.dll
Failed to load shared library, library name : C:/tibco/tibcojre64/11/bin/server/jvm.dll

C:\tibco\tibco\cfgmgmt\hawk\bin>tibhawkconsole.exe
Lib name C:/tibco/tibcojre64/11/bin/server/jvm.dll
Failed to load shared library, library name : C:/tibco/tibcojre64/11/bin/server/jvm.dll

The issue is not with Hawk but with the Universal C Runtime (CRT) on your Windows. Some Dlls were missing.

Environment

Windows server 2016

Resolution

Solution 1, fix it with 2 Microsoft updates:
  1. Update for Windows (KB2999226) updates the api-ms-win-crt-stdio-l1-1.0.dll
  2. Microsoft Visual C++ 2015 Redistributable Update 3 RC fixes issues with a missing or older version of the vcruntime140.dll
In addition, it is recommended that you update your Windows OS with the latest Service Pack and patches.

Solution 2, add C:/tibco/tibcojre64/11/bin to path as the system environment variable. tibcojre bundled those dlls.

Issue/Introduction

hawkagent and hawkconsole doesn't work with an fresh install on windows server 2016