Not Able To Run oif-upgrade-11.1.1.2.0-11.1.1.4.0.py Script Successfully (Doc ID 1540236.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Identity Federation - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

You tried to run the oif-upgrade-11.1.1.2.0-11.1.1.4.0.py script but getting an error:

Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Problem invoking WLST - Traceback (innermost last):
  File "/u01/app/oracle/product/middleware1035/Oracle_IDP/fed/scripts/oif-upgrade-11.1.1.2.0-11.1.1.4.0.py", line 45, in ?
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
        at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
        at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
        at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
        at weblogic.security.Security.runAs(Security.java:61)
        at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
        at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
        at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)

javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: com.oracle.security.fed:type=OIFConfigMBean,name=ServerConfig,Application=OIF,ApplicationVersion=11.1.1.2.0

Changes

[oracle@over IDPDomain]$ cd /u01/app/oracle/product/middleware1035/Oracle_IDP/fed/scripts/
[oracle@over scripts]$ java weblogic.WLST oif-upgrade-11.1.1.2.0-11.1.1.4.0.py

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://over.oracle.com:5001
Connecting to t3://over.oracle.com:5001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDPDomain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=authnengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=authnengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=authnengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=authnengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=authnengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=dnidpmapping,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=idpsaml10,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=idpsaml11,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=spengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=spengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=spengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=spengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=spengines,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Either the configuration name or the connection URL was entered incorrectly.   javax.management.InstanceNotFoundException: com.oracle.security.fed:OIFConfigMBean=ServerConfig,type=OIFConfigMBean.Config,name=serverconfig,Application=OIF,ApplicationVersion=11.1.1.2.0
Problem invoking WLST - Traceback (innermost last):
 File "/u01/app/oracle/product/middleware1035/Oracle_IDP/fed/scripts/oif-upgrade-11.1.1.2.0-11.1.1.4.0.py", line 45, in ?
       at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
       at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
       at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
       at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
       at weblogic.security.Security.runAs(Security.java:61)
       at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
       at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
       at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)

javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: com.oracle.security.fed:type=OIFConfigMBean,name=ServerConfig,Application=OIF,ApplicationVersion=11.1.1.2.0

[oracle@Rover scripts]$  

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