Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22336

[GSS](7.4.z) WFCORE-5546 - "JAVA_OPTS" is not correctly set in standalone.bat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.4.2.CR1, 7.4.2.GA
    • 7.2.9.GA, 7.3.x, 7.4.0.GA
    • Scripts
    • None
    • False
    • False
    • +
    • undefined
    • Hide

      1. add the following line in "standalone.conf.bat"
      set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.nonProxyHosts=localhost^|127.0.0.1"

      2. run "standalone.bat"

      3. EAP does not start.

      Show
      1. add the following line in "standalone.conf.bat" set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.nonProxyHosts=localhost^|127.0.0.1" 2. run "standalone.bat" 3. EAP does not start.

    Description

      The "standalone.bat" can handle "JAVA_OPTS" incorrectly. For example, when the escaped pipe "^|" value is specified in "-Dhttp.nonProxyHosts" for configuring multiple hosts.

      If updating "standalone.bat" like [TO BE], EAP can be started.

      As there are some references to "JAVA_OPTS" variable in "standalone.bat", please review them to prevent similar events like this ticket.

      [AS IS]

      253 if not errorlevel == 1 (
      254 set "JAVA_OPTS=%JAVA_OPTS% !TMP_PARAM!"
      255 )

      [TO BE]

      253 if not errorlevel == 1 (
      254 set "!JAVA_OPTS! !TMP_PARAM!"
      255 )

      Attachments

        Issue Links

          Activity

            People

              rchakrab Ranabir Chakraborty
              rhn-support-mkawakam Manabu Kawakami
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: