Unsatisfied link error in AgentAPI() (Legacy_Onyx KB Id: 220283)
search cancel

Unsatisfied link error in AgentAPI() (Legacy_Onyx KB Id: 220283)

book

Article ID: 54777

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:

Gett following error when I call
AgentAPI.init() call;

javax.security.auth.login.LoginException: java.lang.UnsatisfiedLinkError: javaagent_api_init
at netegrity.siteminder.javaagent.AgentAPI.javaagent_api_init(Native Method)

MY class path does include
set CLASSPATH=%CLASSPATH%;%JARS%\smjavaagentapi.jar;%JARS%\smjavasdk2.jar

And using JDK 142_04 version.

Wonder what might be wrong?

Solution:

You may have an invalid or missing the smjavaagentapi.dll in the system path.

Make sure the correct smjavaagentapi.dll is added to the system path (%PATH%)

echo %PATH% will give the current system PATH
set PATH=<installed web agent path>/bin;%PATH% 

Environment

Release:
Component: SMPLC