While deploying the ArcotAdmin application we see java.lang.unsatisfiedlinkerror – How to handle Unsatisfied Link Error?
UnsatisfiedLinkError is thrown when an application attempts to load the ArcotAccessKeyprovider.sl/.dll file but unable to do so for some reason, We verified the LD_LIBRARY_PATH as well to verify if it contains the Path to the .so file.
When we launch Advanced Authentication for the first time and we see the following error in the arcotadmin.log file:
- arcotadminLog:
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no ArcotAccessKeyProvider in java.library.path
Release: Applicable to all the supported releases (9.x)
Component: CA Advanced Authentication
The error was resolved by running this command manually:
export JAVA_OPTS="-Djava.library.path=/usr/java/jre1.8.0_311-amd64/bin":$JAVA_OPTS
Kindly note that the above mentioned java path is for reference only and it varies based on your environment.
This can be added in the user profile so it persists after the user logs out as well.