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 IAM after upgrade to 10.7

book

Article ID: 240726

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Hi Team,

We are unable to start IAM after upgrade to 10.7. We noticed below error in IAM startup log. 

2022-04-27 03:06:04,558 FATAL [org.keycloak.services] (ServerService Thread Pool -- 61) Error during startup: java.lang.RuntimeException: Unable to find group specified by path: /app-sse-comm-treasury-management-sales
 at org.keycloak.models.utils.RepresentationToModel.createGroups(RepresentationToModel.java:1887)
 at org.keycloak.models.utils.RepresentationToModel.createUser(RepresentationToModel.java:1878)
 at com.ca.ad.sv.keycloak.ext.updater.IAMUpdateHandler.lambda$updateRealm$4(IAMUpdateHandler.java:128)
 at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
 at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
 at com.ca.ad.sv.keycloak.ext.updater.IAMUpdateHandler.updateRealm(IAMUpdateHandler.java:128)
 at com.ca.ad.sv.keycloak.ext.updater.IAMUpdater.lambda$importRealm$0(IAMUpdater.java:55)
 at org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:250)
 at com.ca.ad.sv.keycloak.ext.updater.IAMUpdater.importRealm(IAMUpdater.java:38)
 at org.keycloak.exportimport.dir.DirImportProvider.importModel(DirImportProvider.java:76)
 at com.ca.ad.sv.keycloak.ext.updater.IAMUpdater.importModel(IAMUpdater.java:32)
 at org.keycloak.exportimport.ExportImportManager.runImport(ExportImportManager.java:87)
 at org.keycloak.services.resources.KeycloakApplication.bootstrap(KeycloakApplication.java:207)

Environment

Release : 10.7

Component : DevTest Identity Access Manager

Resolution

The solution for reported issue is fixed with a defect. Please raise a support ticket and get the patch for the team.

After getting patch from the team, follow below steps to apply the patch

Steps to apply:

1. Go to IAM Machine

2. Stop IAM

3. Move the file "iam-updater.jar" from LISA_HOME\IdentityAccessManager\modules\com\ca\sv\iam-updater-ext\main to some other folder outside LISA_HOME

4. Place the solution file "iam-updater.jar" at this location: LISA_HOME\IdentityAccessManager\modules\com\ca\sv\iam-updater-ext\main

5. Start IAM