Friday, May 29, 2015

OIM 11g quartz scheduler logging

 We had some issues in OIM quartz scheduler.So, we had to enable logging for it.The process for it is slightly different.

- Go to  OIM_ORACLE_HOME/server/config
- Create a with content,

handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# default log level
# Quartz logger level
# log file name for the quartz log
# formatter
# limit the size of the file
# recycle

In the add to the JAVA_OPTIONS,


This will need the OIM managed server restart and the log file will get created in domain home with name quartzX.log

Oracle Directory Integration Platform(DIP)

   I had encountered Oracle directory integration platform in 2008, when i was working to integrate EBS HR module with OID 10g.It had some complex profile setup and i did many tests on it and found lot of issues and worked with oracle support/dev almost for a year !!Finally it worked !

   Nowadays, I manage a team which works on Fusion middleware products.The IDM suite specifically is getting complex day by day with addition of products or each version having architecture changes.But one thing which remains almost same is the OID.

   Though there are some changes ofcourse which can be read here. In 10g where dip was a process, in 11g its a j2ee application.It can be used to develop repository integration solution with other ldap directories.Oracle Directory Integration Platform  provides Synchronization Service and Provisioning Services.


EBS to OID bidirectional integration

I had a query from an internal team , they had setup EBS 12.2 to oid 11g integration.A user created in EBS was populating to oid ,but user created in oid was not syncing up in EBS.

So, the above problem statement makes veteran Fusion experts know where to look, let me crack a simple to do list for dummies.

Came across a superb blog ,

1)Issue in EBS to OID sync, Look in the EBS profile options.

Applications SSO Enable OID Identity Add Event
  • When profile 'Applications SSO Enable OID Identity Add Event' value is 'Enabled', users created in OID are automatically created in E-Business and subscribed to the E-Business instance.
  • When profile 'Applications SSO Enable OID Identity Add Event' value is 'Disabled', users created in OID will not be automatically created in E-Business. They can be created in E-Business (and subscribed to it) only after provsubtool or OIDDAS Edit Service Recipient page is used to subscribe existing users to the particular E-Business instance. 
  • Application SSO LDAP Synchronization must be ENABLED regardless of provisioning type
2)Issue with oid user to sync with EBS , there are dip profiles which are created by default and are bidirectional by default.
  • Log in to Oracle Enterprise Manager Fusion Middleware Control.
  • In the navigation panel on the left, click or expand the Identity and Access entry and then select the DIP component that contains the profile you want to edit.
  • Click the DIP Server menu, point to Administration, and then click Synchronization Profiles. The Manage Synchronization Profiles appears displaying a list of the existing profiles.
  • Here it turned to be simple case of misconfiguration of OID details on em, i.e worng port on server properties of DIP application.This can be changed via command line or in the em console.
This is very very basic way to troubleshoot, there can be lot many things wrong.

Wednesday, May 20, 2015

OIM error (org.jgroups.protocols.UDP._send)

  We found this error in logs when customer reported it.

[APP: oim#] failed sending message to null (58 bytes)[[
java.lang.Exception: dest=/ (61 bytes)
at org.jgroups.protocols.UDP._send(
at org.jgroups.protocols.UDP.sendToAllMembers(
at org.jgroups.protocols.TP.doSend(
at org.jgroups.protocols.TP.send(
at org.jgroups.protocols.TP.down(
at org.jgroups.protocols.PING.sendMcastDiscoveryRequest(
at org.jgroups.protocols.PING.sendGetMembersRequest(
at org.jgroups.protocols.Discovery$PingSenderTask$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask.runAndReset(

This is known bug and we fixed this by following a workaround given by Oracle.

We just  added below parameter in OIM startup argument.Based on you are starting from console or backend you need to make this change.