My Oracle Support Banner

OPSS - Adminserver Fails to Start - The Loading of OPSS Java Security Policy Provider Failed Due to Exception (Doc ID 1546963.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : Fusion MiddleWare 11.1.1.6.0 version, Common Security Sevices (OPSS)

When attempting to start the WebLogic AdminServer in a FMW 11.1.1.6 Domain (for OBIEE in this case), the AdminServer fails to start. The loading of OPSS java security policy provider failed due to exception.
the following error occurs in the AdminServer-diagnostic.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: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1398)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
..
Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
at oracle.security.jps.internal.policystore.PolicyDelegationController.(PolicyDelegationController.java:293)
..
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:899)
..
Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
at java.security.AccessController.doPrivileged(Native Method)
..
Caused By: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:860)
..
Caused By: java.lang.NullPointerException
at oracle.security.jps.internal.keystore.util.KeyStoreServiceUtil.getDemoCAKey(KeyStoreServiceUtil.java:406)
at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:337)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:101)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.(FileKeyStoreServiceImpl.java:73)
at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.(FileKeyStoreServiceImpl.java:63)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)
at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)
..
>
####<Apr 8, 2013 8:34:56 AM PDT> <Notice> <WebLogicServer> <main> <> <> <><BEA-000365> <Server state changed to FAILED>


Due to this issue, the WebLogic AdminServer fails to start.

Changes

 11.1.1.5 version product (JDeveloper) had been installed in the same MW_HOME.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.