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

[QA](7.4.z) WFCORE-4008 - Unify "-server" option in windows standalone scripts (ps1, bat)

XMLWordPrintable

      Unify "-server" option in windows scripts (ps1, bat) for domain mode (and its servers) on all JDKs

      Domain use "-server" option in unix, windows bat. Domain doesn't use "-server" option in windows ps1 scripts. Same for JVMs of domain servers.

      I prefer to add "-server" option to ps1 scripts.

      domain.ps1 - "-server" option is missing
      PS C:\Users\Administrator\playground\wfly.15\wildfly\bin> .\domain.ps1
      =================================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: C:\Users\Administrator\playground\wfly.15\wildfly
      
        JAVA: C:\Program Files\Java\jdk1.8.0_121\bin\java.exe
      
        MODULE_OPTS:
      
        JAVA_OPTS: -Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman
      
      =================================================================================
      
      ...
      
      domain.bat - "-server" option is listed in JAVA_OPTS
      C:\Users\Administrator\playground\wfly.15\wildfly\bin>domain.bat
      Calling "C:\Users\Administrator\playground\wfly.15\wildfly\bin\domain.conf.bat"
      Setting JAVA property to "C:\Program Files\Java\jdk1.8.0_121\bin\java"
      ===============================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: "C:\Users\Administrator\playground\wfly.15\wildfly"
      
        JAVA: "C:\Program Files\Java\jdk1.8.0_121\bin\java"
      
        JAVA_OPTS: "-Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server"
      
      ===============================================================================
      
      ...
      

      cc: jperkins-rhn

            lvydra Lukas Vydra
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: