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

JRE path is missing the Systems' PATH environment.

Resolution

Add the Nimsoft java directory path to the Systems' PATH environment.

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

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=LlSLLjYJamKbJ4GT02zgLg==

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=sbRwjf8ehQ7hlJV5jTqVgQ==

Then open a new command prompt and execute the js-ant refresh-config command