My Oracle Support Banner

OPSS - Unable To Start Admin Server Observing The Loading Of Opss Java Security Policy Provider Fais Exception (Doc ID 1479354.1)

Last updated on SEPTEMBER 27, 2019

Applies to:

Oracle Platform Security for Java - Version 11.1.1.1.0 to 11.1.1.7.0 [Release Oracle11g]
Information in this document applies to any platform.
***Checked for relevance on 06-Sept-2019***

Symptoms

1. Unable to start the Admin Server

2. Following message reported in the DOMAIN_HOME/servers/SERVER/logs/AdminServer-diagnostic.log

####<27-Jul-2012 8:50:06 o'clock AM ADT> <Critical> <WebLogicServer> <HOST> <SERVER> <Main Thread> <> <BEA-000386> <Server subsystem failed. Reason: 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
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)
  at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
  at weblogic.security.SecurityService.start(SecurityService.java:141)
  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.security.jps.JpsRuntimeException: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
  at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:293)
  at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)
  at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)
  ................

Caused By: java.security.PrivilegedActionException: oracle.security.jps.JpsException: [PolicyUtil] Unable to obtain default JPS Context!
  at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)\

  ...........
Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Opening of file based farm keystore failed.
  at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:351)

.............

  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: javax.xml.stream.XMLStreamException: End Document reached prematurely.
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processPermission(StaxPolicyStoreParser.java:3789)
at oracle.security.jps.internal.policystore.xml.StaxPolicyStoreParser.processGrant(StaxPolicyStoreParser.java:3316)

 

 

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
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.