Connector Xpress 2.0: RoleDef source file not found.
search cancel

Connector Xpress 2.0: RoleDef source file not found.

book

Article ID: 274586

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

When we try to deploy the connector created in CX 2.0 it fails with an error in CX2.0:

Failed to deploy <Application Name>.X metadata configuration.

Error in the Identity Manager log:

2023-10-04 18:21:38,310 WARN  [com.brcm.connxp.controllers.CDRoleDefController] (default task-20) RoleDefController.importConfig() - started.
2023-10-04 18:21:38,310 WARN  [com.brcm.connxp.controllers.CDRoleDefController] (default task-20) RoleDefController.validateTrustConfig() :: validation started.
2023-10-04 18:21:38,312 WARN  [com.brcm.connxp.controllers.CDRoleDefController] (default task-20) RoleDefController.validateTrustConfig() :: validation is successful.
2023-10-04 18:21:38,312 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl() called..
2023-10-04 18:21:38,862 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.generateRoleDef(configParamsVO): Started..
2023-10-04 18:21:38,863 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.generateRoleDef(): standaloneJCS = false
2023-10-04 18:21:39,047 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.generateRoleDef(): Generating IM role definition for endpoint type: <Application Name>.X
2023-10-04 18:21:39,047 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.prepareRoleDefOutputLocation(): RoleDef File Output Location = /tmp
2023-10-04 18:21:40,219 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.generateRoleDef(): Successfully Generated IM role definition file for the endpoint type: <Application Name>.X
2023-10-04 18:21:40,219 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.backupExistingFile() :: Attempting to backup the roleDef file.
2023-10-04 18:21:40,220 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.manageExistingFileBackup() :: Successfully deleted the old backup file :: <Application Name>.jar@XXXXXXX
2023-10-04 18:21:40,220 WARN  [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.manageExistingFileBackup() ::  Attempting to back up the existing RoleDef file =<Application Name>.X.jar
2023-10-04 18:21:40,221 ERROR [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.copyNewFile(): RoleDef source file not found.
2023-10-04 18:21:40,221 ERROR [com.brcm.connxp.services.CDRoleDefServiceImpl] (default task-20) CDRoleDefServiceImpl.importConfig() - Failed to generate role definitions for endpoint type '<Application Name>.X'. Error = RoleDef source file not found.
2023-10-04 18:21:40,221 ERROR [com.brcm.connxp.controllers.CDRoleDefController] (default task-20) RoleDefController.importConfig() - Failed to import the metadata file. Exception =Failed to process the generation of the role definition for endpoint type '<Application Name>.X'.

 

Environment

Release : 14.5

Resolution

<Application Name>.X contains "." and any letters/numbers after it.

This prevents IM from executing deployment.

Remove "." and try again.