Stuck Threads When addProcessFormChildData Method Is Invoked After Applying OIM 184.108.40.206 BP07
Last updated on APRIL 16, 2017
Applies to:Identity Manager - Version 220.127.116.11.4 to 18.104.22.168.9 [Release 11g]
Information in this document applies to any platform.
Usecase: A custom adapter which invokes tcFormInstanceOperationsIntf.addProcessFormChildData() is used in Disable User Event. This combination causes a recursive loop and eventually stuckthreads. Duplicate Disable User tasks are observed in the account's Resource History.
Steps to reproduce:
1. Have a process task that is called on Disable user operation. This process task calls the adapter adpEDIRDISABLE.
2. On success return of this adapter, the one triggers another process task: adpCHECKIFDISABLEORTERM that decides if the account should be revoked or disabled.
3. Based on the response, another process task is called : adpUPDATEUSERFORTERMINATION that adds some rows in the child table.
This leads to stuck threads as the threads are locking themselves. Please see the relevant part of the stack-trace of the thread:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms