My Oracle Support Banner

EBS - The OAM Registration script fails with java.lang.Exception: Failed to connect to OAM with the given credentials (Doc ID 2783214.1)

Last updated on FEBRUARY 24, 2024

Applies to:

Oracle E-Business Suite Technology Stack - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, Products Integrated With (OAM) Oracle Access Manager

EBS R12.1.3 Integration with OAM 12.2.13, fails

While Register Oracle EBS with Oracle Access Manager, running the next script:

txkrun.pl -script=SetOAMReg -registeroam=yes -oamHost=http://OAM_HOST:7001 -oamUserName=oamadmin -ldapUrl=ldap://LDAP_HOST:3060 -oidUserName=cn=orcladmin -ldapSearchBase=cn=Users,dc=example,dc=com -ldapGroupSearchBase=cn=Groups,dc=example,dc=com -webGateUrl=https://WEBGATE_HOST:443 -ohsHostName=OHS_HOST -ohsHostUserName=user -webgateConfigDir=$FMW_HOME/Oracle_WT1/instances/instance1/config/OHS/ohs1/webgate/config

Fails with this error:

Failed while doing policy configurations

The XML log file shows:

<logger>txkSetOAMReg_configurePolicies</logger>
<level>SEVERE</level>
<class>oracle.apps.fnd.txk.oam.RegisterOAM</class>
<method>main</method>
<thread>1</thread>
<message>Failed while validating the given arguments</message>
<exception>
<message>java.lang.Exception: Failed to connect to OAM with the given credentials</message>
<frame>
<class>oracle.apps.fnd.txk.oam.Configuration</class>
<method>&lt;init&gt;</method>
<line>88</line>
</frame>
<frame>
<class>oracle.apps.fnd.txk.oam.UserIdentityStoreConf</class>
<method>&lt;init&gt;</method>
<line>33</line>
</frame>
<frame>
<class>oracle.apps.fnd.txk.oam.RegisterOAM</class>
<method>main</method>
<line>93</line>
</frame>
</exception>

 

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
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.