ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to start Identity Access Manager service in 10.4

book

Article ID: 116791

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction

After installing new instance of DevTest 10.4 in Oracle Linux, unable to start Identity Access Manager.

No logs are created in DevTest_Home\IdentityAccessManager\standalone\log folder.

Started DevTest_Home/IdentityAccessManager/bin/IdentityAccessManager instead of IdentityAccessManagerService and see the below:

========================================================================= 
JBoss Bootstrap Environment 
JBOSS_HOME: /home/dc-user/CA/DevTest/IdentityAccessManager 
JAVA: java 
JAVA_OPTS: -server -Djboss.http.port=51112 -Djboss.https.port=51111 -Djboss.bind.address.management=0.0.0.0 -Djboss.bind.address=0.0.0.0 -Diam.truststore=../iam-truststore.ks -Diam.truststore.pass=passphrase -Dkeycloak.migration.action=import -Dkeycloak.migration.provider=iam-updater -Dkeycloak.migration.dir=../realms-to-import -Dkeycloak.migration.strategy=IGNORE_EXISTING -Diam.version=1.2.0 
========================================================================= 

Cause

DevTest_Home/IdentityAccessManager/bin/standalone.sh file has the below (JAVA="java" ) for setting JAVA and no Java was installed on the machine which caused the issue.
---------- 
# Setup the JVM 
if [ "x$JAVA" = "x" ]; then 
if [ "x$JAVA_HOME" != "x" ]; then 
JAVA="$JAVA_HOME/bin/java" 
else 
JAVA="java" 
fi 
fi 
---------- 

Note: By default DevTest should be using its default jre and if it is not available then uses jre found on the machine.

Environment

DevTest 10.4 installed in Oracle Linux environment.

Resolution

In DevTest_Home/IdentityAccessManager/bin/standalone.sh changing the line 130 as below 

From 
JAVA="java" 

TO 
JAVA="../../jre/bin/java" 

resolve the issue.