Issue importing Reconciliation files in OIM 10g (9.1.0.1)

Even though it was indicating that the simple HR data feed import was successful, it was in fact failing with the following error:
November 6, 2012
OIM-10g

WARN,04 Sep 2012 13:19:22,248,[XELLERATE.GC.PROVIDER.RECONCILIATIONTRANSPORT],FILE SUCCESSFULLY ARCHIVED : /home/oracle/Oracle/910Middleware/OIM9101/datadumps/import/HR_OIM_090412.txt
ERROR,04 Sep 2012 13:19:23,348,[XELLERATE.SERVER],Class/Method: tcUSR/eventPreInsert Error :Mandatory fields are blank or null.
ERROR,04 Sep 2012 13:19:23,349,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
ERROR,04 Sep 2012 13:19:23,350,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
java.lang.Exception: Rollback Executed From
 at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
 at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
...
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
ERROR,04 Sep 2012 13:19:23,351,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Wrong SQL operation for save
ERROR,04 Sep 2012 13:19:23,352,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
java.lang.Exception: Rollback Executed From
 at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
 at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
 at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)

I did some investigation and for whatever reason, I needed to upgrade from 9.1.0.1 to 9.1.0.2


Installing OIM 9.1.0.1 --> 9.1.0.2

Click here to download the same patch in this demonstration.

Incremental patches process over time so click here to view all the associated patches for OIM 10g.

I always forget, though make sure you export your JAVA path.

export PATH=$JAVA_HOME/bin:$PATH


Upgrade to 9102

Once you've downloaded the patch, proceed with the following:

[oracle@localhost Scripts]$ pwd
/home/oracle/Desktop/oim9.1.0.2/p8484010_9102_Generic.zip_FILES/db/oracle/Scripts
[oracle@localhost Scripts]$ ./oim_db_upg_9101_to_9102.sh

## Enter the ORACLE HOME directory or Press [Enter] to
accept the default /home/oracle/app/oracle/product/11.2.0/dbhome_1 as ORACLE_HOME.


## Current database is orcl
Do you want to continue with this database [y,Y,n,N] ?

y

## Enter the valid directory,having Oracle Identity Manager Db Schema upgrade scripts

/home/oracle/Desktop/oim9.1.0.2/p8484010_9102_Generic.zip_FILES

## Enter the Oracle Identity Manager Db schema user name

xelsysadm

## Enter the password for Oracle Identity Manager (xelsysadm) user



Starting Oracle Identity Manager Db Schema Upgrade....

Oracle Identity Manager Db Schema Upgrade Successful....

Starting Oracle Identity Manager Db Stored Procedure Upgrade.....

Oracle Identity Manager Db Stored Procedure Upgrade Successful....
Please see logs at /home/oracle/Desktop/oim9.1.0.2/p8484010_9102_Generic.zip_FILES/db/oracle/log/oim_db_upg_9101_to_9102
.


Execute the 'LoadXML.sh file

Once you've completed the step above, begin by starting up the LoadXML.sh file with the JDBC path and Username/Password passing as arguments.

./LoadXML.sh jdbc:oracle:thin:@172.16.128.128:1521:orcl xelsysadm Password1


Confirming patch installation

I then made sure the patch I installed was also updated within the Database

With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost setup]$ sqlplus xellerate/Password1

SQL*Plus: Release 11.2.0.1.0 Production on Tue Sep 4 16:19:53 2012

Copyright (c) 1982, 2009, Oracle. All rights reserved.

ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name: xelsysadm
Enter password:

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select XSD_VALUE from XSD where XSD_CODE='XL_BUILD_NUMBER';

XSD_VALUE
-------------
9.1.0.1865.28

SQL>

About the author

Daniel is a Technical Manager with over 10 years of consulting expertise in the Identity and Access Management space.
Daniel has built from scratch this blog as well as technicalconfessions.com
Follow Daniel on twitter @nervouswiggles

Comments

Other Posts

AWS-PHP integration - Email not sent. SMTP Error: Could not authenticate.

phpsmtpaws

February 6, 2020
Created by: Daniel Redfern
AS I was migrating my environment into an S3 environment, I wanted to leverage off the SES services that AWS provide, more specifically, to leverage the off the SMTP functionality by sending an email via PHP
Read More...

SOLUTION: no headers files (.h) found in softwareserial - Arduino

Arduino

February 24, 2019
Created by: Daniel Redfern
The WeMos D1 is a ESP8266 WiFi based board is an extension to the current out-of-the-box library that comes with the Arduino installation. Because of this, you need to import in the libraries as well as acknowledging the specific board. This process is highly confusion with a number of different individuals talking about a number of different ways to integrate.
Read More...

NameID element must be present as part of the Subject in the Response message

ShibbolethSAML

August 7, 2018
Created by: Daniel Redfern
NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration.
Read More...

HOW TO provision AD group membership from OpenIDM

OpenIDMICFAD-connector

June 15, 2018
Created by: Daniel Redfern
For what I see, there's not too many supportive documentations out there that will demonstrate how provision AD group membership with the ICF connector using OpenIDM. The use of the special ldapGroups attribute is not explained anywhere in the Integrators guides to to the date of this blog. This quick blog identifies the tasks required to provision AD group membership from OpenIDM to AD using the LDAP ICF connector. However this doesn't really explain what ldapGroups actually does and there's no real worked example of how to go from an Assignment to ldapGroups to an assigned group in AD. I wrote up a wiki article for my own reference: AD group memberships automatically to users This is just my view, others may disagree, but I think the implementation experience could be improved with some more documentation and a more detailed example here.
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

ICFIDMOpenIDMOpenICF

November 8, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

org.forgerock.script.exception.ScriptCompilationException: missing ; before statement

IDMsync.confforgerockopenidm

November 8, 2017
Created by: Daniel Redfern
org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statemen

OpenIDMsync.confForgeRock

September 17, 2017
Created by: Daniel Redfern
ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

Caused by: org.forgerock.json.resource.BadRequestException: Target does not support attribute groups

OpenIDMForgeRockICFConnector

September 17, 2017
Created by: Daniel Redfern
When performing the attempt of a reconciliation from ForgeRock IDM to Active Directory, I would get the following error
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

OpenIDMForgeRockICFConnectorAD

September 17, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_g

OpenIDMIDMGoogleGoogle-AppsICFreconciliation

September 12, 2017
Created by: Daniel Redfern
During the reconcilation from OpenIDM to the ICF google apps connector, the following error response would occur. ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_grant
Read More...