Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB8B110283 for ; Wed, 11 Dec 2013 10:43:10 +0000 (UTC) Received: (qmail 20980 invoked by uid 500); 11 Dec 2013 10:43:10 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 20959 invoked by uid 500); 11 Dec 2013 10:43:08 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 20936 invoked by uid 99); 11 Dec 2013 10:43:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 10:43:07 +0000 Date: Wed, 11 Dec 2013 10:43:07 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-2624) Karaf script for AIX should use JVM option: -Xdump:heap instead of IBM_JAVA_HEAPDUMP_TEXT to control production heapdumps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-2624?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-2624: ---------------------------------------- Fix Version/s: 2.3.4 3.0.0 2.4.0 > Karaf script for AIX should use JVM option: -Xdump:heap instead of IBM_JA= VA_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=C3=A9 > 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 err= or: > {quote} > user@host:/apps/user/pache-karaf-2.3.1/bin> ./karaf > MAXDATA=3D0xB0000000@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:=20 > http://www-01.ibm.com/support/docview.wss?uid=3Dswg1IV29784 > If we look in the startup script we find: > {code} > # For AIX, set an environment variable > if $aix; then > export LDR_CNTRL=3DMAXDATA=3D0xB0000000@DSA > export IBM_JAVA_HEAPDUMP_TEXT=3Dtrue > 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 mech= anism for controlling the production of > Heapdumps is the JVM option: -Xdump:heap. -- This message was sent by Atlassian JIRA (v6.1.4#6159)