DIP Oracle HR Agent Sync With OID 11g Failing With Status 2 (Doc ID 1477429.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

OID 11g versions, Directory Integration Platform

When attempting to configure OracleHRAgent import synchronization, Agent Execution fails
the following error occurs.

[2012-07-15T18:30:00.552-05:00] [wls_ods1] [TRACE] [DIP-10012] [oracle.dip.OracleHRAgent] [tid: OracleHRAgent] [userId: ] [ecid: <ECID>] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [APP: DIP#11.1.1.2.0] [SRC_METHOD: execCommand] executing agent command: /u01/app/oracle/product/fmw/Oracle_IDM/ldap/bin/odihragent OracleHRAgent connect=ORCL login=<LOGIN> pass=<PASSWORD> date=2012062410000
[2012-07-15T18:30:00.567-05:00] [wls_ods1] [TRACE] [DIP-10026] [oracle.dip.OracleHRAgent] [tid: OracleHRAgent] [userId: ] [ecid: <ECID>] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [APP: DIP#11.1.1.2.0] [SRC_METHOD: execCommand] return status : 2
....
....
[2012-07-15T18:30:00.888-05:00] [wls_ods1] [NOTIFICATION] [DIP-10032] [oracle.dip.OracleHRAgent] [tid: OracleHRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Updated attributes : {orclOdipProfileMetric;success_count=orclOdipProfileMetric;success_count: 3, orclOdipSynchronizationStatus=orclOdipSynchronizationStatus: Agent Execution Failure, Aborting Mapping/IMPORT Operation, orclodipLastExecutionTime=orclodipLastExecutionTime: 20120715183000, orclOdipProfileMetric;failure_count=orclOdipProfileMetric;failure_count: 0, orclOdipSynchronizationErrors=orclOdipSynchronizationErrors: Agent Execution Failure, Aborting Mapping/IMPORT Operation, orclodipConDirLastAppliedChgNum=orclodipConDirLastAppliedChgNum: 0}, {1}, {2}, {3}.

 

The issue can be reproduced at will with the following steps:
1. Configure HR Sync according to
Oracle® Fusion Middleware Administrator's Guide for Oracle Directory Integration Platform 11g Release 1 (11.1.1)
10 Synchronizing with Oracle Human Resources


Start the wls_ods1 managed server from the WLS Admin console (nodeManager)

2. Activate the OracleHRAgent profile

3. See "return status : 2" and "Agent Execution Failure"


Due to this issue, unable to configure OracleHRAgent import synchronization.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms