While doing a test on weblogic today, I encountered the BEA-090892 error. The error comes when the services are restarting in the cluster structure. The reason is that some java security policies could not be updated.
1 2 3 4 5 |
“<Error> <Security> <BEA-090892> <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: java.security.AccessControlException: access denied (“oracle.security.jps.service.credstore.CredentialAccessPermission”) |
Here is the solution:
Open “weblogic.policy” under “$MIDDLEWARE_HOME/wlserver_10.3/server/lib” and paste the code below and restart the services.
1 2 3 |
grant codeBase “file:${oes.client.home}/-” { permission java.security.AllPermission; }; |