How to fix Segmentation fault core dumped issue when starting up LDAP Adapter in AIX 7.1

book

Article ID: KB0077684

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Adapter for LDAP 6.1.1

Description

While running LDAP adapter application from command line the following error occurs with AIX 7.1 platform:
--------------------------------------------------------------------------------------------------------------
Segmentation fault      (core dumped) /opt/tibco/adapter/adldap/6.1/bin/adldap
--------------------------------------------------------------------------------------------------------------

This issue is due to the adldap.tra file, "tibco.env.JVM_LIB_DIR" and "tibco.env.LIBPATH for AIX" pointing to an incorrect JRE path.

"TIBCO_HOME/tibcojre64/1.8.0/lib/ppc64/default" by default, which causes the jvm is unable to initialize; the correct path should be TIBCO_HOME/tibcojre64/1.8.0/lib/ppc64/j9vm.

Environment

AIX 7.1 TRA 5.11

Resolution

Go to the LDAP Adapter bin folder, open the adldap.tra file, find "tibco.env.JVM_LIB_DIR" and modify as follows.
==============
Before

tibco.env.JVM_LIB_DIR /tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64/default:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64:/tibco/app/tibco2/tibcojre64/1.8.0/bin

After

tibco.env.JVM_LIB_DIR /tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64/j9vm:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64:/tibco/app/tibco2/tibcojre64/1.8.0/bin

==============
Search "For AIX" and modify "tibco.env.LIBPATH" as follows.
==============
Before 

#For AIX
tibco.env.LIBPATH %CUSTOM_CP_EXT%:%CUSTOM_LIB_PATH%:%SDK_HOME%/hotfix/lib:%SDK_HOME%/lib:%TRA_HOME%/hotfix/lib:%TRA_HOME%/lib:%TRA_HOME%/icjava55/lib:%TPCL_HOME%/lib:%RV_HOME%/lib:%TIBCO_JVM_FLAVOR_LIB_DIR_ESC%:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64/default:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64:/tibco/app/tibco2/tibcojre64/1.8.0/bin

After 

#For AIX
tibco.env.LIBPATH %CUSTOM_CP_EXT%:%CUSTOM_LIB_PATH%:%SDK_HOME%/hotfix/lib:%SDK_HOME%/lib:%TRA_HOME%/hotfix/lib:%TRA_HOME%/lib:%TRA_HOME%/icjava55/lib:%TPCL_HOME%/lib:%RV_HOME%/lib:%TIBCO_JVM_FLAVOR_LIB_DIR_ESC%:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64/j9vm:/tibco/app/tibco2/tibcojre64/1.8.0/lib/ppc64:/tibco/app/tibco2/tibcojre64/1.8.0/bin
================

Issue/Introduction

How to fix Segmentation fault core dumped issue when starting up LDAP Adapter in AIX 7.1