My Oracle Support Banner

OID 11g Custom HRAgent DIP Profile Suddenly Fails with: DIP-10026 / return status : 255. / DIP-10034 / writer context is not initialized. (Doc ID 1603412.1)

Last updated on OCTOBER 07, 2019

Applies to:

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


Oracle Internet Directory (OID) 11g with Directory Integration Platform (DIP) for a custom HR synchronization profile.

The HR Agent profile had been working fine then suddenly fails.

The $DOMAIN_HOME/servers/AdminServer/logs/wls_ods1-diagnostic.log full error stack shows:

[2013-11-25T12:49:58.182-05:00] [wls_ods1] [TRACE] [DIP-10012] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: execCommand] executing agent command: <ORACLE_HOME>/ldap/bin/odihragent HRAgent connect=<DB_NAME> login=apps pass= date=20131117013801
[2013-11-25T12:49:58.247-05:00] [wls_ods1] [TRACE] [DIP-10026] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: execCommand] return status : 255.
[2013-11-25T12:49:58.248-05:00] [wls_ods1] [NOTIFICATION] [DIP-10034] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] writer context is not initialized.
[2013-11-25T12:49:58.248-05:00] [wls_ods1] [TRACE] [DIP-10204] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: connectLdap] LDAP URL : <OID_HOSTNAME> port : <SSL_PORT> cn=odisrv,cn=Registered Instances,cn=Directory Integration Platform,cn=products,cn=oraclecontext.
[2013-11-25T12:49:58.248-05:00] [wls_ods1] [TRACE] [] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: setJNDIEnvironmentForLDAPBinaryAttrs] Specifying binary attributes: mpegvideo objectguid objectsid guid usercertificate orclodipcondirlastappliedchgnum
[2013-11-25T12:49:58.248-05:00] [wls_ods1] [TRACE] [DIP-10208] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: connectLdap] Connecting in SSL.
[2013-11-25T12:49:58.393-05:00] [wls_ods1] [TRACE] [DIP-10147] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.gsi.LDAPConnector] [SRC_METHOD: connectLdap] Successfully connected to directory server.
[2013-11-25T12:49:58.393-05:00] [wls_ods1] [TRACE] [DIP-10035] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: writerInitialise] writer engine Initialized.
[2013-11-25T12:49:58.393-05:00] [wls_ods1] [TRACE] [] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: writerInitialise] PRoxy as orclodipagentname=HRAgent,cn=subscriber profile,cn=changelog subscriber,cn=oracle internet directory
[2013-11-25T12:49:58.395-05:00] [wls_ods1] [TRACE] [DIP-10037] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: writerInitialise] initialized writer using profile as proxy.
[2013-11-25T12:49:58.603-05:00] [wls_ods1] [NOTIFICATION] [DIP-10032] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] Updated attributes : {orclOdipProfileMetric;success_count=orclOdipProfileMetric;success_count: 5689, orclOdipSynchronizationStatus=orclOdipSynchronizationStatus: Agent Execution Failure, Aborting Mapping/IMPORT Operation, orclodipLastExecutionTime=orclodipLastExecutionTime: 20131125124958, orclOdipProfileMetric;failure_count=orclOdipProfileMetric;failure_count: 661, orclOdipSynchronizationErrors=orclOdipSynchronizationErrors: Agent Execution Failure, Aborting Mapping/IMPORT Operation, orclodipConDirLastAppliedChgNum=orclodipConDirLastAppliedChgNum: 0}, {1}, {2}, {3}.
[2013-11-25T12:49:58.604-05:00] [wls_ods1] [TRACE] [DIP-10002] [oracle.dip.HRAgent] [tid: HRAgent] [userId: ] [ecid: <ECID>] [APP: DIP#] [SRC_CLASS: oracle.ldap.odip.web.DIPSyncBean] [SRC_METHOD: mapEnd] ending mapping execution

Running the same odihragent command from the OS command prompt still works, for example:

This successfully produces the data import file in $ORACLE_HOME/ldap/odi/data/import/HRAgent.dat.

Stopping and restarting the entire stack does not help.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.