One of my client had issues starting IAM’s (Identity and Access Management) WebLogic Server.
Error message reported during start-up in Weblogic Server log
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-03026: PDPService and PolicyStore Service instance not found in default context. Reason: null
at weblogic.security.service.CommonSecurity ServiceManagerDelegateImpl. loadOPSSPolicy(CommonSecurity ServiceManager DelegateImpl.java:1398)
Looking at error message JPS-03026: PDPService and PolicyStore Service instance not found in default context , it is clear that issue is related to Oracle Entitlement Server (OES). On further investigation, it was found that OES pre-requisite steps were missed
Fix: Add Grants by running $ORACLE_HOME/common/bin/wlst.sh $ORACLE_HOME/oes/modifygrants.py
Where ORACLE_HOME is Directory in which Identity and Access Management (IAM) software is installed.
Note: This issue comes only when you select Authorization Poilicy Manager (APM) template during Weblogic Domain creation. APM is Administration Console for Oracle Entitlement Server (OES)