Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-798

JBOSS_HOME variable can't be used in standalone.conf.bat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Scripts

      I want to give a truststore file to JBOSS as VM parameter by adding a line to the standalone.conf.bat like below:
      set "JAVA_OPTS=%JAVA_OPTS% -Djavax.net.ssl.trustStore=%JBOSS_HOME%\standalone\security\trust.jks"

      However, when i start JBOSS, on the console JBOSS home directory can't be seen. Then i look at standalone.bat, and i saw that JBOSS loads JAVA_OPTS from standalone.conf.bat firstly, then it sets the JBOSS_HOME property. So i changed the order and it is solved. Could you apply this change to the next releases? thanks...

              tomazcerar Tomaž Cerar (Inactive)
              serkanyildirim Serkan Yıldırım (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: