Refresh Role Memberships Job Returns Timeout Errors - ORA-01013: user requested cancel of current operation (Doc ID 2288656.1)

Last updated on JULY 20, 2017

Applies to:

Identity Manager - Version 11.1.2.3.170117 and later
Information in this document applies to any platform.

Symptoms

Refresh role memberships job returns timeout errors when there are more than 50k users.

The OIM log file shows errors like:

[2017-02-27T21:44:08.936+13:00] [oim_server1] [ERROR] [] [XELLERATE.DATABASE] [tid: OIMQuartzScheduler_Worker-6] [userId: oiminternal] [ecid: e54d48dca28a7e02:77add499:15a7d4215e3:-8000-000000000013b272,0] [APP: oim#11.1.2.0.0] select count(*) as RecordExists from usg where usr_key=65639 and ugp_key=41 [[
java.sql.SQLTimeoutException: ORA-01013: user requested cancel of current operation

[2017-02-27T21:46:15.767+13:00] [oim_server1] [ERROR] [] [XELLERATE.DATABASE] [tid: OIMQuartzScheduler_Worker-6] [userId: oiminternal] [ecid: e54d48dca28a7e02:77add499:15a7d4215e3:-8000-000000000013b272,0] [APP: oim#11.1.2.0.0] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing[[
Database server is running.
Datasource configuration settings are correct. java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 1201 seconds

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