IAM failed to load after server upgrade from 10.4 to 10.6 - RESTEASY003325: Failed to construct public org.keycloak Error

book

Article ID: 197329

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

After an in-place upgrade from  DevTest 10.4 to 10.6, IAM's service does not stay running. The Database tables seem to be upgraded. 
10.4 IAM was originally configured for LDAP.  

We are seeing the following errors in our IAM server logs: 

ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)

 

Cause

The Error seems to be related to LDAP, but have no way to disable LDAP since IAM cannot be started.

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

Please open a support case and refer to defect DE469646 . We have a patch that addresses the issue.

 

Step to apply the patch: 

1. Take a backup of file "iam-updater.jar" from IAM_HOME\modules\com\ca\sv\iam-updater-ext

2. Place the new file "iam-updater.jar" attached to the defect at IAM_HOME\modules\com\ca\sv\iam-updater-ext

3. Start IAM and check if it is able to start without any troubles.