Friday, September 22, 2017

12C RCU failed on Oracle Identity Manager Schema


Error:

Wed Sep 13 14:36:54.103 EDT 2017 ERROR assistants.rcu.backend.task.PrereqTask: oracle.sysman.assistants.rcu.backend.task.PrereqTask::execute: Prereq Evaluation Failed
oracle.sysman.assistants.rcu.backend.validation.PrereqException:
ERROR - RCU-6083 Prerequisite check failed for selected component:
CAUSE - RCU-6083 Prerequisite check failed for selected component.
ACTION - RCU-6083 Refer to the RCU logs for additional details. Make sure that the prerequisite requirements are met.OIM
Refer to RCU log at /tmp/RCU2017-09-13_14-34_472068822/logs/rcu.log for details.
        at oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator.executePrereqTask(PrereqEvaluator.java:713)
        at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:68)
        at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:346)
        at java.lang.Thread.run(Thread.java:748)

Wed Sep 13 14:36:54.103 EDT 2017 ERROR assistants.rcu.backend.task.ActualTask: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: RCU Operation Failed
oracle.sysman.assistants.common.task.TaskExecutionException:
ERROR - RCU-6083 Prerequisite check failed for selected component:
CAUSE - RCU-6083 Prerequisite check failed for selected component.
ACTION - RCU-6083 Refer to the RCU logs for additional details. Make sure that the prerequisite requirements are met.OIM
Refer to RCU log at /tmp/RCU2017-09-13_14-34_472068822/logs/rcu.log for details.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error: Views/Synonyms required for XA transaction support are missing in this Database 12c.
         These views/synonyms are required by the OIM Schema.
  Action: Refer Oracle Database Administrator's Guide to install XA transaction recovery views/synonyms
          using the script xaview.sql. Contact your DBA.
          For Database12c CDB config: execute xaview.sql from PDB SYS user
          For Database12c NON-CDB config: execute xaview.sql from CDB SYS user
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:77)
        at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:346)
        at java.lang.Thread.run(Thread.java:748)

Screenshot:




Solution:

1) Login in "sys as sydba" user from putty

2) Run the below Script 

@/u01/oracle/product/12.1.0.2/db_1/rdbms/admin/xaview.sql


3) Re-run the RCU Again. It will resolve the Issue.

Regards,
Arihant

FMW 12c Has Been Released (OIM,OAM,OID AND OUD)

Oracle Fusion Middleware 12c Release has been released. For more information about the product follow the below Links.


Documentations:

http://docs.oracle.com/middleware/12213/idmsuite/index.html

Binaries/Software Files:

http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/oid-11gr2-2104316.html

Certification Matrix:

http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html


Regards,
Arihant

Error in invoking target 'all' of make file /lib/ins_asha.mk during IDM 11.1.1.9 installation (RHEL 7.2)


Error in invoking target 'all' of makefile '/app/oracle/middleware/Oracle_IDM2/lib/ins_asha.mk (RHEL 7.2)

To resolve the error please run the command,
$ gcc -o /app/oracle/middleware/Oracle_IDM1/bin/hasocket -L /app/oracle/middleware/Oracle_IDM1/lib -L /app/oracle/middleware/Oracle_IDM1/lib -L /usr/lib64 -L /app/oracle/middleware/Oracle_IDM1/lib/stubs /app/oracle/middleware/Oracle_IDM1/lib/s0hasocket.o /app/oracle/middleware/Oracle_IDM1/lib/libhasocket.so -ldl -L/usr/lib -lirc -lpthread -lrt


It will create the hasocket file, check the file using below command and continue the error

$ cat  /app/oracle/middleware/Oracle_IDM1/bin/hasocket
/app/oracle/middleware/Oracle_IDM1/bin/hasocket: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=e45g6468a872fffc860b831b60120c2bf6cfa1358, not stripped


Regards,
Arihant

Sunday, May 28, 2017

OIM 11G R2 PS3 Lab 13: How to hide tiles in OIM 11g R2 PS3?

1) Login to Identity console and create a sandbox



2) Press Home button then click on customize


3)  Click on Structure, blank space, select the gridcell of the tile you want to hide and click on edit button


4)  Click on show component's drop down arrow and click on expressions


5)  Below is the old condition


6) Replace with below condition

#{oimcontext.currentUser.roles['SYSTEM ADMINISTRATORS'] != null}



7) Click on ok button


6) Select the sandbox which is used for this customization and click on Publish button

7) Click on Yes button



Testing

8) Login with End user



9) End user wont be able to see Provisioning Tasks and Pending Approvals Tiles, Since we hide those tiles. Only Administrator can see that.



Thanks,
Arihant