EAR Is Not Deployable If JACC Provider Is Active.

(Doc ID 1920052.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


On a WLS 12.1.2 environment, if a JSR-115 policy provider JACC (Java Authorization Contract for Containers) is activated, the deployment of EAR fails with the following exception:

<Error> <Deployer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1401371200362> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1401371198701" for task "1". Error is: "weblogic.application.ModuleException: java.lang.UnsupportedOperationException: [Security:090625]Policy context xxxxx not in open state."
weblogic.application.ModuleException: java.lang.UnsupportedOperationException: [Security:090625]Policy context xxxxx not in open state.
Caused By: java.lang.UnsupportedOperationException: [Security:090625]Policy context xxxxx not in open state.
at weblogic.security.jacc.simpleprovider.PolicyConfigurationImpl.addToUncheckedPolicy(PolicyConfigurationImpl.java:303)
at weblogic.servlet.security.internal.JACCSecurity.deployUncheckedPolicy(JACCSecurity.java:102)
at weblogic.servlet.security.internal.WebAppSecurityJacc.deployUncheckedPoliciesForException(WebAppSecurityJacc.java:120)
at weblogic.servlet.security.internal.WebAppSecurityJacc.mergePolicies(WebAppSecurityJacc.java:90)
at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:417)

If a web application is deployed instead of an EAR file, it works.


 Enabling JACC Provider


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms