This article addresses startup failures in CA Identity Manager (IDM) following an upgrade or migration, specifically when the application server fails to connect to the Provisioning Server due to incorrect port or server configurations remaining from the previous environment.
When starting the Application Server after an IDM migration, the system fails to initialize, citing a javax.naming.CommunicationException with a connection timeout error. The logs indicate the system is attempting to connect to a non-standard port (e.g., 20490) associated with the legacy Provisioning Server instead of the new environment.
Post-migration, the IDM object store database (IM_DIR_CONNECTION table) may retain references to the old Provisioning Server's host and port. These settings override the new configuration.
To resolve this issue, update the connection configuration within the Identity Manager object store database:
SELECT * FROM IM_DIR_CONNECTION;PORT and HOST values to match the new infrastructure (e.g., port 20390).Modifying database tables directly should be done with caution. Always back up the database before making manual updates.