Total Pageviews

Saturday, November 1, 2014

OIM 11gr1- OAM 11gr1 integration issue wrong webgate information used.



oracle.security.am.common.nap.ObMessageChannelWrapper.initNAP(ObMessageChannelWrapper.java:297)

<Notice> <StdErr> <BEA-000000> <at oracle.security.am.common.nap.ObMessageChannelWrapper.initialize(ObMessageChannelWrapper.java:190)


<Error> <Default>< BEA-000000> <Server reported that incorrect NAP version is being used, while client attempted to communicate using NAP version 3. See server log for more information.>>


<Error> <OAM Notification Logger> <BEA-000000> <Error sending notifications oracle.security.am.common.exceptions.NAPException: Server reported that incorrect NAP version is being used.>>

above errors happen when there is issue with your OIM webgate that is sending information to OAM


below is OIM configuration to send information to OAM


<version>11g</version>

<accessServerHost>orasystemsusa.com</accessServerHost>

<accessServerPort>portnumber</accessServerPort>

<accessGateID>Webgate_11g</accessGateID>

<napVersion>3</napVersion>


<webgateType>ohsWebgate11g</webgateType>

<ssoEnabled>true</ssoEnabled>


</ssoConfig>


you need to check your OIM release version information. OAM webgate have older version configured but OIM is sending requests using 11g webgate. fix OIM configured with webgate information that is at OAM, will fix this issue. OIM and OAM both needs to have same webgate information in order to communicate.

Important: This configuration is not related to the WebGate that is deployed to OHS that is providing access to OIM user interface, this is a configuration that is internal to OIM


in order to do that if you are in cluster environment do the following(in my example I have 11g Webgate at OIM and 10g webgate at OAM. )




-        Export oim-config.xml from MDS


-        Replace <accessGateID>Webgate_11g</accessGateID> with <accessGateID>Webgate_10g</accessGateID>


-        Import oim-config.xml back to MDS

-        Bounce the OIM cluster


if  OIM and OAM are in different releases, you need to make additional changes


  Replace nap-api.jar with the one from OAM deployment.

-        Locate in the OAM installation the nap-api.jar file and copy it to all OIM servers

-        Replace the following files:

o   $OIM_ORACLE_HOME/server/apps/oim.ear/APP-INF/lib/nap-api.jar

o   $OIM_ORACLE_HOME /server/ext/internal/nap-api.jar

-        Stop OIM cluster

-        Delete the following file:

o   $DOMAIN_HOME/servers/<oim_server>/tmp/_WL_user/oracle.iam.ui.model/<xxxx>/APP-INF/lib/nap-api.jar

-        Start the OIM cluster


No comments:

Post a Comment