Tuesday, February 28, 2017

Java Embedding Activity: Use collection object like HashMap

Ensure that you have the following line in the .bpel file before the java embedding activity:
<bpelx:exec import="java.util.HashMap"/>

AccountNotFoundException: When manual provisioning is customized to auto-complete

<Error> <oracle.iam.provisioning.ws> <BEA-000000> <Exception occured during manual provisioning of accountID = 1972 operation = Provision
oracle.iam.provisioning.exception.AccountNotFoundException: An error occurred in oracle.iam.provisioning.util.ProvisioningUtil/getUserIdFromAccountId(String accountId) as account with key 1972 does not exist. 

Solution:
Add a wait activity in BPEL process (composite) before the response is returned from SOA. Set the wait time to 5 seconds.

Friday, February 24, 2017

Create wlfullclient.jar

wlfullclient.jar is required for multiple operations in OIM. The following are the steps to create the same in your OIM environment:

1. Login into OIM box.

2. Navigate to the following location: <MW_HOME>/wlserver_10.3/server/lib
       /app/Middleware/wlserver_10.3/server/lib

3. Execute the following command:
       java -jar /app/Middleware/modules/com.bea.core.jarbuilder_1.7.0.0.jar
    Depending on your environment, you might have a different version of com.bea.core.jarbuilder jar

4. You will receive the following confirmation message post the jar creation:
       Created new jar file: /app/Middleware/wlserver_10.3/server/lib/wlfullclient.jar

Thursday, February 23, 2017

ORABPEL-02183: JTA transaction is not in active state.

Set the following two values. The values must be in accordance with your environment, given here are just sample values.

1. syncMaxWaitTime

    • Login into EM console.
    • Expand SOA and right click on "soa-infra" and select: SOA Administration -> BPEL Properties
    • Click on "More BPEL Configuration Properties" link
    • Locate syncMaxWaitTime and change it.

2. JTA transaction time out

    • Log into Oracle WebLogic Administration Console.
    • Click Services -> JTA.
    • Change the value of Timeout Seconds (the default is 30) to 1200.
    • Click Save.
    • Restart WebLogic Server.

Monday, February 20, 2017

Start node manager

  1. Navigate to <WL_HOME>/server/bin e.g.: /app/oracle/Middleware/wlserver_10_3/server/bin
  2. ./startNodeManager.sh

Field lku_group must be populated before saving : Error in saving lookup

Solution: Give any value in the Group textbox like 'oim' and save. This value is not used anywhere.

Friday, February 10, 2017

OIM server version and patches

  1. export ORACLE_HOME=/app/Middleware/Oracle_IDM1
  2. cd $ORACLE_HOME/OPatch/
  3. ./opatch lsinventory

output will be like:

Oracle Interim Patch Installer version 11.1.0.11.0
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


Oracle Home       : /app/Middleware/Oracle_IDM1
Central Inventory : /app/oraInventory
   from           : /app/Middleware/Oracle_IDM1/oraInst.loc
OPatch version    : 11.1.0.11.0
OUI version       : 11.1.0.9.0
Log file location : /app/Middleware/Oracle_IDM1/cfgtoollogs/opatch/opatch2017-02-10_09-32-39AM_1.log


OPatch detects the Middleware Home as "/app/Middleware"

Lsinventory Output file location : /app/Middleware/Oracle_IDM1/cfgtoollogs/opatch/lsinv/lsinventory2017-02-10_09-32-39AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle IDM Suite                                                     11.1.2.3.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


--------------------------------------------------------------------------------

OPatch succeeded.