Can't connect to Provisioning Server during startup after upgrade/migration
search cancel

Can't connect to Provisioning Server during startup after upgrade/migration

book

Article ID: 268375

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

 

As part of the efforts to upgrade IDM to the latest release v14.4, I followed the suggested path and installed a fresh system v14.0.

I migrated the old to the new system, including User and Prov Stores, and so far all looks good.

Then, I cloned the IDM Objects DB and in the IDM App installation I pointed to the new DB instance.

The installation of the IDM App completed successfully, however, when I started the App Server, I got the following error messages:

 

"JBAS011843: Failed to instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader .....

....

Caused by: javax.naming.CommunicationException: <hostname of the prov server>:20490 .....Connection timed out..."

At this point, the new system is pointing to the old Prov Server and CA Directories (user and prov stores). 

I opened the Management Console and tried the export the settings in order to update the XML files to point to the new Prov Server and CA Directories, however, I got the same error message, and I haven't been able to export the environment settings.

 

Environment

Release : 14.4

Cause

The error during startup indicates an attempted connection to a non-standard port (20490).

    Caused by: javax.naming.CommunicationException: <hostname of the prov server>:20490 .....Connection timed out...

The above server:port refers to the old Provisioning server.

Resolution

Query the Identity Manager objectstore database to get the contents of the IM_DIR_CONNECTION table to verify whether the correct Provisioning Store is listed.

Update the IM_DIR_CONNECTION table by setting the row for the Prov Server to the correct, new Provisioning store, <hostname of the new prov server>:20390, for example.