You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/12/11 18:19:08 UTC
[jira] [Resolved] (KARAF-2624) Karaf script for AIX should use JVM
option: -Xdump:heap instead of IBM_JAVA_HEAPDUMP_TEXT to control production
heapdumps
[ https://issues.apache.org/jira/browse/KARAF-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-2624.
-----------------------------------------
Resolution: Fixed
> Karaf script for AIX should use JVM option: -Xdump:heap instead of IBM_JAVA_HEAPDUMP_TEXT to control production heapdumps
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-2624
> URL: https://issues.apache.org/jira/browse/KARAF-2624
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.3.1
> Reporter: Joe Luo
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.4.0, 3.0.0, 2.3.4
>
>
> When we start Karaf with the karaf script on AIX we get the following error:
> {quote}
> 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...
> {quote}
> 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:
> {code}
> # 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
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)