Details
Description
When we start Karaf with the karaf script on AIX we get the following error:
user@host:/apps/user/pache-karaf-2.3.1/bin> ./karaf
MAXDATA=0xB0000000@DSA
karaf: JAVA_HOME not set; results may vary
IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 20120322_106209 (JIT enabled, AOT enabled)
- ASSERTION FAILED ** j9prt.748 at common/j9memtag.c:145 Trc_Assert_PRT_memory_corruption_detected((memoryCorruptionDetected))
Please wait while JBoss Fuse is loading...
When we checked on the IBM site we found this article:
http://www-01.ibm.com/support/docview.wss?uid=swg1IV29784
If we look in the startup script we find:
# For AIX, set an environment variable
if $aix; then
export LDR_CNTRL=MAXDATA=0xB0000000@DSA
export IBM_JAVA_HEAPDUMP_TEXT=true
echo $LDR_CNTRL
fi
And the IBM article states that you should avoid using IBM_JAVA_HEAPDUMP_TEXT variable to not have that error message we've seen. The preferred mechanism for controlling the production of
Heapdumps is the JVM option: -Xdump:heap.