My Oracle Support Banner

ImportPartners() WLST Command Fails With Error "Too Many Arguments; Expected 2 Got 4" (Doc ID 2048479.1)

Last updated on MAY 24, 2022

Applies to:

Oracle Access Manager - Version 11.1.2.2.4 and later
Information in this document applies to any platform.

Symptoms

Both OAM servers are of same version 11.1.2.2.4.

When trying to Import Partners from one of the OAM servers to another using T2P command.

Following is the error thrown on execution of the command
=================================
wls:/OAMDomain/serverConfig> importPartners(pathTempOAMPartnerFile="/opt/app/oracle/product/Policy/13JulyPartners/Partner.xml")
Traceback (innermost last):
  File "", line 1, in ?
  File "/opt/app/oracle/product/fmw11g/Oracle_IDM1/common/wlst/Oam.py", line 524, in importPartners
TypeError: importPartners() too many arguments; expected 2 got 4

==================================
 
If export the partners from second OAM box and import it on the same machine this command works.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.