If you are working on Multi Data Center in OAM 11g R2 PS2, you would encounter the issue of updating the oracle.oam.EnableMDCReplication flag to true as per the Oracle Documentation link. However the document does not specify where to change this property.

Here is what you need to do:

  1. Goto WebLogic Domain directory.
  2. Take backup of setDomainEnv.sh.
  3. Edit the setDomainEnv.sh file to add oracle.oam.EnableMDCReplication as Java Property as shown below. I have updated this after line export JAVA_OPTIONS.
  4. Save the file.
  5. Restart the OAM WebLogic Admin and Managed Servers.

Hope this helps.