Running Script 'UpgradeOpss' Failed With Error "Jps-04022: Cannot Create Application Policy Context"

(Doc ID 1322438.1)

Last updated on AUGUST 21, 2017

Applies to:

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


In the process to upgrade OPSS from to 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/", line 1276, in upgradeOpss
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke( JPS-04022: Cannot create application policy context "SOA".


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