Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4879

Apply-updates script fails if path to Java binary contains spaces

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.4.4
    • Fix Version/s: 6.4.6
    • Component/s: Migration Tool
    • Labels:
      None
    • Environment:

      Reproduced in:
      Bash shell (version 4.2.46(1)-release) on RHEL 7.3
      Git Bash (version 2.11.0.windows.3) on Windows 7

    • Affects Build:
      GA
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      1.) Install Java runtime to path which contains at least one folder with at least one space in its name
      2.) Install EAP 7
      3.) Install BPMS 6.4.0
      4.) Attempt to patch BPMS 6.4.0 with 6.4.4 patch via "apply-updates.sh <eap_path> eap7.x" method

      Show
      1.) Install Java runtime to path which contains at least one folder with at least one space in its name 2.) Install EAP 7 3.) Install BPMS 6.4.0 4.) Attempt to patch BPMS 6.4.0 with 6.4.4 patch via "apply-updates.sh <eap_path> eap7.x" method

      Description

      When attempting to use the patch script (apply-updates.sh) for BPMS 6.4.4. My Java installation path contains at least one space. (EXAMPLE: /usr/lib/jvm/spaced folder/java) When the patch script runs, it fails with the message "./apply-updates.sh: line 34: /usr/lib/jbm/spaced: No such file or directory".

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                psiroky Petr Široký
                Reporter:
                rhn-gps-dlaffran David Laffranchi
                Tester:
                Tibor Zimanyi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: