]
Tomaz Cerar closed WFLY-798.
----------------------------
Resolution: Out of Date
.bat scripts got improved quite a bit in the past.
also we are moving to powershell scripts instead of batch ones in WF10
so if you see any similar problems with them, reopen this issue.
JBOSS_HOME variable can't be used in standalone.conf.bat
--------------------------------------------------------
Key: WFLY-798
URL:
https://issues.jboss.org/browse/WFLY-798
Project: WildFly
Issue Type: Bug
Components: Scripts
Environment: jboss-as-7.2.0.Alpha1-SNAPSHOT nightly build
Reporter: Serkan Yıldırım
Assignee: Tomaz Cerar
Labels: standalone.bat
Attachments: standalone.bat
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...