[jboss-jira] [JBoss JIRA] (WFLY-798) JBOSS_HOME variable can't be used in standalone.conf.bat
Tomaz Cerar (JIRA)
issues at jboss.org
Wed Jan 20 10:27:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list