We are using net.sf.jpam.Pam to authenticate the user-name and pwd with the script, having the content:
. /opt/tpa/etc/tpautils.sh
LD_LIBRARY_PATH=$TPA_HOME/lib
export LD_LIBRARY_PATH
JAVA_OPTS="-Djava.library.path=$TPA_HOME/lib"
CLASSPATH="$JBOSSHOME/common/lib/JPam-1.1.jar"
CLASSPATH="$CLASSPATH:$JBOSSHOME/common/lib/commons-logging.jar"
"$JAVA_HOME/bin/java" $JAVA_OPTS \
-classpath "$CLASSPATH" \
net.sf.jpam.Pam "$1" "$2"
From the last two days, the script is crashing.
*** glibc detected *** /opt/tpa/java/bin/java: free(): invalid pointer: 0x00007f857c000088 ***
Linux KARBLRNPC12 2.6.32-642.15.1.el6.x86_64 #1 SMP Mon Feb 20 02:26:38 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
-sh-4.1$ /opt/tpa/java/bin/java -version
java version "1.7.0_141"
Java(TM) SE Runtime Environment (build 1.7.0_141-b31)
Java HotSpot(TM) 64-Bit Server VM (build 24.141-b31, mixed mode)
-sh-4.1$
Following are attached for your ref:
1. Execution with Strace
2. Execution of the script with set -x
Hi
Issue is resolved. The lib "net.sf.jpam.Pam" was crashing as the password was going to be expired. A warning was coming for the password, we reset the password and now issue is resolved. Any plan to have the correction in the coming release.
Thanks once again..
Regards
Asif