Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3830

JAVA_OPTS is not passed correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0.Alpha2
    • None
    • Scripts
    • None

      Domain:
      JAVA_OPTS is not passed to PC and HC JVMs in domain.ps1

      Steps to reproduce:

      1. start powershell
      2. $env:JAVA_OPTS = "-Da=b"
      3. ./domain.bat
      4. WMIC PROCESS get Commandline | findstr java
      5. check that "a" property is present in PC or HC
      6. exit domain.bat
      7. ./domain.ps1
      8. WMIC PROCESS get Commandline | findstr java
      9. check that "a" property is not present in PC or HC

      cc: jperkins-rhn


      Standalone:
      PRESERVE_JAVA_OPTS parameter is not used correctly in standalone.conf.ps1 and standalone.ps1. If user define JAVA_OPTS, default JAVA_OPTS should be ignored (like bat scripts behaviour)

              rsearls r searls
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: