Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10804

run.bat -r option to use a custom run.conf.bat file causes options like -Dfoo=bar to fail

XMLWordPrintable

    • Hide

      run.bat -r C:\custom\run.conf.bat -Dfoo=bar

      the JVM will get started with:

      -Dfoo bar

      e.g. any "=" signs have turned into spaces

      Show
      run.bat -r C:\custom\run.conf.bat -Dfoo=bar the JVM will get started with: -Dfoo bar e.g. any "=" signs have turned into spaces
    • Medium
    • Hide
      The introduction of the <literal>-r</literal> option for the <filename>run.bat</filename> srcipt in JBoss EAP 5.2 caused the script to fail to pick up <literal>-Dname=value</literal> style command line options. This was because the option uses the "shift" facility to loop through all options. However Windows' <application>cmd.exe</application> utility replaces the <literal>=</literal> with spaces. This issue has been resolved in this release.
      Show
      The introduction of the <literal>-r</literal> option for the <filename>run.bat</filename> srcipt in JBoss EAP 5.2 caused the script to fail to pick up <literal>-Dname=value</literal> style command line options. This was because the option uses the "shift" facility to loop through all options. However Windows' <application>cmd.exe</application> utility replaces the <literal>=</literal> with spaces. This issue has been resolved in this release.
    • Documented as Resolved Issue
    • NEW

      using the "-r" option (new in 5.2) will cause -Dfoo=bar options to fail

        1. run.zip
          2 kB
        2. run.bat
          5 kB

              tfonteyn Tom Fonteyne (Inactive)
              tfonteyn Tom Fonteyne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: