Unable to register the WAM UI with the policy server using the WAM UI due to error message "Error in Native API" in SiteMinder R12
search cancel

Unable to register the WAM UI with the policy server using the WAM UI due to error message "Error in Native API" in SiteMinder R12

book

Article ID: 54716

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Description:

I'm unable to register the WAM UI with the policy server due to the following error:

Failed to execute CreateUIConnectionEvent successfully. ERROR MESSAGE: Error in Native API.

<Please see attached file for image>

Figure 1

I'm using JBoss as application server for WAM UI.

In the application log I can see the following exception:

INFO [STDOUT] FATAL ERROR: Exception from System.loadLibrary java.lang.UnsatisfiedLinkError:no smcommonutil in java.library.pathINFO  [STDOUT] FATAL ERROR: Exception from AgentAPI.initialize() java.lang.UnsatisfiedLinkError: initializeINFO  [com.ca.siteminder.uiagent.Connector] Establishing agent API connection for PolicyServerERROR [com.netegrity.ims.exception.EventExecuteStateException] Execution of event:CreateUIConnectionEvent failed.  Exception encountered: Error in native agent APIERROR [com.netegrity.ims.businessprocess.IMSEventController] Error during event execution[5453ee5f-0a00008e-0065dbe8-5b42408b] CreateUIConnectionEventWARN  [ims.tmt.eventlistener] Evt IMTaskEvent:9942e548-cb755def-2397b291-a9ef1c is invalid.

Solution:

The problem is because of the path, it is missing the <IdentityMinder.ear>\library which has SM Agent APIs to connect to the policy Server and hence the WAM UI registration is failing.

The path has been defined as follows:

<- Begin C:\Java\jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~\CA\SC\ETPKI\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\  -> End

Please check the run_idm.bat file for the correct PATH settings specifically:

PATH=C:\jboss-405\server\default\deploy\IdentityMinder.ear\library;%PATH%

Alternatively, you can set the PATH in the window from which the application server is being run, for instance:

  1. set PATH=

  2. set PATH=C:\jboss-405\server\default\deploy\IdentityMinder.ear\library;%PATH%

  3. run_idm.bat

Environment

Release:
Component: SMPLC

Attachments

1558712069953000054716_sktwi1f5rjvs16shf.gif get_app