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

Document ID : KB000054777
Last Modified Date : 14/02/2018
Show Technical Document Details


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?


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%