js-ant refresh-config cabi command to encrypt password fails with 'java.exe' is not recognized'
search cancel

js-ant refresh-config cabi command to encrypt password fails with 'java.exe' is not recognized'

book

Article ID: 252806

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

I am following steps to encrypt the cabi password per Change the JNDI Password for Bundled CABI Server but process fails when executing the js-ant refresh-config command:

Example:

C:\Nimsoft\c\buildomatic> js-ant refresh-config

C:\Nimsoft\c\buildomatic>echo off
'"java.exe"' is not recognized as an internal or external command,
operable program or batch file.

 

Environment

CABI: Any version

Cause

Java JRE path is missing in the Path variable

Resolution

1. Validate the Java JRE path instance under the Nimsoft folder

Example: C:\Nimsoft\jre\jre8u212b04\bin

2. Use a Command Prompt window and change directory to:  $NIM_ROOT\c\buildomatic

3. Run the command below to temporarily set the UIM Java JRE path

set PATH=%PATH%;C:\Nimsoft\jre\jre8u212b04\bin

4. Run the command:  js-ant refresh-config

Follow the remaining steps in Changing the JNDI Password for CABI Server