search cancel

DevTest is not running. Services are automatically getting stopped.

book

Article ID: 201414

calendar_today

Updated On:

Products

Service Virtualization CA Cloud Test Mobile

Issue/Introduction

Steps:
Login to the workstation. Registry Timeout error
Login to the Dev Test server and services were stopped.
Restarted IAM first, but did not start.

When we try and start the registry manually we see the following error:
Creating a DevTest Registry, name=Registry Unexpected Exception: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'authenticationManager' defined in class path resource [applicationContext-security.xml]:
Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [com.ca.dts.security.authentication.internal.AuthenticationProviderManager]:
Constructor threw exception; nested exception is java.lang.IllegalArgumentException:
The attribute 'devtest.iam.autoAddUsers' does not have a value of 'true' or 'false'.

Cause

During the application installation the <LISA_HOME>\lisa.properties File was not properly updated.

## ==============================================
## Configuring IAM
iam.server.url=https://localhost:51111/auth
## ==============================================


## ==============================================
## Configuring Ldap
devtest.iam.autoAddUsers=${installer:autoAddUsers}
devtest.iam.authenticateOnly=${installer:authenticateOnly}
## ==============================================

Environment

DevTest 10.X
Lisa

Resolution

Edit the <LISA_HOME>\lisa.properties

Change from:

## ==============================================
## Configuring IAM
iam.server.url=https://localhost:51111/auth
## ==============================================


## ==============================================
## Configuring Ldap
devtest.iam.autoAddUsers=${installer:autoAddUsers}
devtest.iam.authenticateOnly=${installer:authenticateOnly}
## ==============================================

 

To 

## ==============================================
## Configuring IAM
iam.server.url=https://localhost:51111/auth
## ==============================================


## ==============================================
## Configuring Ldap
devtest.iam.autoAddUsers=true
devtest.iam.authenticateOnly=false
## ==============================================

then restart the resigsitry service.