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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Done
    • 3.0.0.Beta30
    • 3.0.0.Beta31
    • Scripts
    • None

    Description

      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.
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: