Trying to install Openmake KB as a Windows service

book

Article ID: 129124

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

After installing Openmake Meister, I tried to install the KB server as a service.  When following the instructions to install the KB Server as a service with the Win_KB_Service_cmd.bat, I get the following result. It installs no service and it displays the jnt command with all the options listed and the last line says: Error while installing the service : The operations completed successfully Which doesn't really make any sense. When I looked up the JNT Java utility, it says that it is the Java Native Thread for Win32 platform. Is it a problem that the Openmake loaded on my system is all 64bit? Is there a different instruction for loading a 64bit service?

Cause

I checked the Windows event viewer and found that an error thrown by the Win_KB_Service_cmd.bat script held the key: 

Could not find jvm.dll 
Could not find jvm.dll in C:\Program Files\Java\jre1.8.0_181\bin\client\jvm.dll, C:\ProgramFiles\Java\jre1.8.0_181\jre\bin\hotspot\jvm.dll,C:\Program Files\Java\jre1.8.0_181\bin\hotspot\jvm.dll or C:\Program Files\Java\jre1.8.0_181\jre\bin\client\jvm.dll 

I checked my C:\Program Files\Java\jre1.8.0_181\bin folder and found a “server” folder containing the “jvm.dll” but no client folder there. 

Environment

Openmake Meister 7.5 on a Windows platform

Resolution

I made a copy of the "C:\Program Files\Java\jre1.8.0_181\bin\server" folder and named it "C:\Program Files\Java\jre1.8.0_181\bin\client" After this, the two statements in the script that run the JNT.exe succeeded. The rest of the statements are about deleting, moving, and/or uninstalling things that aren’t there because this is a new installation, so no worries if those fail.