Running Script 'UpgradeOpss' Failed With Error "Jps-04022: Cannot Create Application Policy Context" (Doc ID 1322438.1)

Last updated on DECEMBER 06, 2012

Applies to:

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

Symptoms

In the process to upgrade OPSS from 11.1.1.2 to 11.1.1.4 on a cluster environment, the post installation step 3.8.3 "Updating Configurations and Stores" failed with the following error:

wls:/offline> wls:/offline> upgradeOpss(jpsConfig="/a01/app/oraweb/middle/user_projects/domains/SOA/config/fmwconfig/jps-config.xml", jaznData="/a01/app/oraweb/middle/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml")
Starting upgrade of jps configuration and security stores.
Command FAILED, Reason: JPS-04022: Cannot create application policy context "SOA".

Traceback (innermost last):
File "<console>", line 1, in ?
File "/a01/app/oraweb/middle/oracle_common/common/wlst/jpsWlstCmd.py", line 1276, in upgradeOpss
at oracle.security.jps.internal.common.ldap.util.JpsLdapBootstrapImpl.createJpsPolicyStoreInLdap(JpsLdapBootstrapImpl.java:564)
at oracle.security.jps.upgrade.tools.PolicyStoreUpgrade.upgradeSystemDIT(PolicyStoreUpgrade.java:229)
at oracle.security.jps.upgrade.tools.PolicyStoreUpgrade.upgrade(PolicyStoreUpgrade.java:148)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgrade(Upgrade.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

oracle.security.jps.internal.api.common.JpsPolicyStoreLdapNodeCreationException: oracle.security.jps.internal.api.common.JpsPolicyStoreLdapNodeCreationException: JPS-04022: Cannot create application policy context "SOA".
wls:/offline>

Cause

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