Article Number
000033799
Applies To
RSA Product Set: Access Manager
RSA Version/Condition: 6.2.x
Platform: Tomcat
O/S Version: Linux
Issue
Tomcat server crashes a few seconds after startup when axm-selfservice-gui-6.2 is configured
From the last lines of the catalina.out file it appears that some library is missing.
Native code library failed to load.
java.lang.UnsatisfieedLinkError: no LBJNIWrappers in java.library.path
Cause
The RSA Access Manager self-service console uses lockbox to encrypt sensitive data in the configuration files, the administrator's name and password.
Lockbox dependencies are located in the AXM_HOME\cst folder. This folder needs to be in the library path of Tomcat at startup.
Resolution
The LBJNIWrappers.so is included in the cst folder under the AXM_HOME directory.
Export this folder in the command line or add it to the startup script for tomcat.
Example of running at the command line to load the cst library before executing the startup script for tomcat:
[root@rhel64 bin]# export LD_LIBRARY_PATH=/opt/axm/server-62/cst:$LD_LIBRARY_PATH
Use the example in the startup scripts for the AxM servers as to how it would look in a script.
Example:
AXM_HOME=/opt/axm/server-62
…
#LockBox env setup
OSTYPE=`uname -s`
if [ "$OSTYPE" = "AIX" ]; then
export LIBPATH=$AXM_HOME/cst:$LIBPATH
else
LD_LIBRARY_PATH=$AXM_HOME/cst:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
fi
This example from the aserver.sh defines the axm home directory and assumes the cst folder is under that directory.