OPSS - Running UpgradeOpss() WLST Command to Upgrade WebLogic Domain Configurations and Stores Fails with: java.lang.Exception: java.lang.Exception: Following required argument(s) not passed: jpsConfig (Doc ID 2203987.1)

Last updated on NOVEMBER 28, 2016

Applies to:

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

Symptoms

Executing upgradeOpss() WLST command, to upgrade the WebLogic domain configurations, and stores returns error:

wls:/offline>upgradeOpss()
{upgradeJseStoreType=null, transformData=null, auditStore=null, user=null, url=null, jdbcDriver=null, jaznData=null, jpsConfig=null}
Following required argument(s) not passed: jpsConfig
Traceback (innermost last):
 File "", line 1, in ?
 File "/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py", line 1537, in upgradeOpss
 File "/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py", line 114, in validateRequiredArgs
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

java.lang.Exception: java.lang.Exception: Following required argument(s) not passed: jpsConfig

There seem to be certain parameters to be specified for this command, i.e.:   upgradeOpss(jpsConfig="existing_jps_config_file", jaznData="system_jazn_data_file").

But there are two jsp_config_file and jazn_data_file on the system, for example:

Which one should be used?

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