IAM fails to start with jboss-cli.bat is not recognized

book

Article ID: 142280

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

After installing DevTest 10.5 (including Identity Access Manager) on some Windows 10 installations, the IAM service fails to start. 
IAM also fails to start when executing the IdentityAccessManager.exe from the CMD window. 

The following error is shown: 
Command: jboss-cli.bat --flile=C:\Program Files\CA\DevTest\IDENTI~1\database/script/reset_datasource.cli
jboss-cli.bat is not recognized as an internal or external command. operable program or batch file

Environment

Release : 10.5

Component : CA Service Virtualization

Resolution

After adding ...\IdentityAccessManager\bin to the PATH environment variable, this error is resolved.
But a new error is shown:

"Caused by: java.lang.IllegalStateException: Directory ..\realms-to-import doesn't exists"

This error can be resolved by updating standalone.conf.bat with:
-Dkeycloak.migration.dir=C:/CADevTest10_5/IdentityAccessManager/realms-to-import