Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1870

run_rhamt.sh startup script for rhamt-web-distribution broken on Mac OS X

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 41
    • Steps to Reproduce:
      Hide

      On an OS X system:

      • unzip migrationtoolkit-rhamt-web-distribution-4.0.0.with-authentication.zip
      • cd rhamt-web-distribution-4.0.0.Final && ./run_rhamt.sh
      • script errors out:
        $ ./run_rhamt.sh 
        run_rhamt.sh: line 12: [: unlimited: integer expression expected
        Increasing the maximum of open files to 0.
        run_rhamt.sh: cannot make pipe for command substitution: Too many open files
        run_rhamt.sh: line 32: /bin/standalone.sh: No such file or directory
        
      Show
      On an OS X system: unzip migrationtoolkit-rhamt-web-distribution-4.0.0.with-authentication.zip cd rhamt-web-distribution-4.0.0.Final && ./run_rhamt.sh script errors out: $ ./run_rhamt.sh run_rhamt.sh: line 12: [: unlimited: integer expression expected Increasing the maximum of open files to 0. run_rhamt.sh: cannot make pipe for command substitution: Too many open files run_rhamt.sh: line 32: /bin/standalone.sh: No such file or directory

      Description

      run_rhamt.sh script looks at ulimit output to ensure the open file limit is sufficient to run RHAMT. Unfortunately, on OS X, `ulimit -H -n` will output the word 'unlimited' instead of an integer value. The startup script fails on this.

      I have submitted a simple PR to fix this: https://github.com/windup/windup-web-distribution/pull/43

        Attachments

          Activity

            People

            Assignee:
            jsightler Jesse Sightler
            Reporter:
            bmontgom.openshift Bill Montgomery
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: