Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2624

Karaf script for AIX should use JVM option: -Xdump:heap instead of IBM_JAVA_HEAPDUMP_TEXT to control production heapdumps

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4.0, 3.0.0, 2.3.4
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              joeluo Joe Luo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: