BW Engine startup fails (core dump) when using JVM argument "-Xcompressedrefs"

BW Engine startup fails (core dump) when using JVM argument "-Xcompressedrefs"

book

Article ID: KB0090815

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Environment:
===========
Only in BW 5.10 on AIX with jre 1.6.0 64-bit

Description
=========
If you use the following IBM GC argument in bwengine.tra,
java.extended.properties=-Djava.net.preferIPv4Stack\=true -Xdisableexplicitgc -Xcompressedrefs

when you run the command  "./bwengine", BW engine fails. The output is:

-bash-3.2# ./bwengine
Segmentation fault (core dumped)

Resolution:
==========
To make -Xcompressedrefs work, JVM_LIB_DIR should have the compressedrefs path instead of default one. In bwengine.tra, you need to prepend <JRE_HOME>/lib/ppc64/compressedrefs in tibco.env.JVM_LIB_DIR so it should look like the following:

"tibco.env.JVM_LIB_DIR=/opt/tib_bw_510/tibcojre64/1.6.0/lib/ppc64/compressedrefs:/opt/tib_bw_510/tibcojre64/1.6.0/lib/ppc64/default:/opt/tib_bw_510/tibcojre64/1.6.0/lib/ppc64:/opt/tib_bw_510/tibcojre64/1.6.0/bin"

Note: if you do not want to use compressedrefs you should remove -Xcompressedrefs as well as <JRE_HOME>/lib/ppc64/compressedrefs in JVM_LIB_DIR. Otherwise you will see the coredump again.

Issue/Introduction

BW Engine startup fails (core dump) when using JVM argument "-Xcompressedrefs"