Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3126

Cannot start EAP - MALLOC_ARENA_MAX=1: is not an identifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta31
    • 3.0.0.Beta30
    • Scripts
    • None

      JBEAP-11565 add the following line into the EAP launching scripts:

      export MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-1}"
      

      This is problematic on Solaris 10 sparc

      $ ./standalone.sh
      ./standalone.sh: MALLOC_ARENA_MAX=1: is not an identifier
      
      $ ./domain.sh                                               
      ./domain.sh: MALLOC_ARENA_MAX=1: is not an identifier
      

      See https://issues.apache.org/jira/browse/MNG-5829 description:

      The $(cmd) idiom is used extensively in bin/mvn from lines 199-220, but this is not supported by older incarnations of /bin/sh (used on the shebang line). The `cmd` idiom is slightly more portable, and looks like it can probably be directly substituted.
      

              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: