Issue: Was applying the OIM Jan patch and looks like same issue while applying APril 2018 patch.
Error : While running post patch step.Had updated the file patch_oim_wls.profile and ran sh patch_oim_wls.sh
Failed with,
/sid/oracle/oim/Middleware/Oracle_IDM1/server/setup/deploy-files/automation.xml:303: The following error occurred while executing this line:
/sid/oracle/oim/Middleware/Oracle_IDM1/server/setup/deploy-files/automation.xml:106: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: The policy domain "OIMDomain" does not exist
Error : While running post patch step.Had updated the file patch_oim_wls.profile and ran sh patch_oim_wls.sh
Failed with,
/sid/oracle/oim/Middleware/Oracle_IDM1/server/setup/deploy-files/automation.xml:303: The following error occurred while executing this line:
/sid/oracle/oim/Middleware/Oracle_IDM1/server/setup/deploy-files/automation.xml:106: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: The policy domain "OIMDomain" does not exist
Solution:
Doc ID 2409764.1, below are actual steps.