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

(Doc ID 2048479.1)

Last updated on MARCH 08, 2017

Applies to:

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


Both OAM servers are of same version

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/", 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.


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