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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.1.Final
    • 4.0.0.Final
    • MTR Web UI
    • None
    • 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
    • Sprint 41
    • None

      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

              jsightle@redhat.com Jess Sightler
              bmontgom.openshift Bill Montgomery
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: