[jboss-jira] [JBoss JIRA] (AS7-5719) JBOSS_HOME variable can't be used in standalone.conf.bat
Serkan Yıldırım (JIRA)
jira-events at lists.jboss.org
Wed Oct 10 02:12:03 EDT 2012
[ https://issues.jboss.org/browse/AS7-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Serkan Yıldırım updated AS7-5719:
---------------------------------
Attachment: standalone.bat
I added a working standalone.bat file.
> JBOSS_HOME variable can't be used in standalone.conf.bat
> --------------------------------------------------------
>
> Key: AS7-5719
> URL: https://issues.jboss.org/browse/AS7-5719
> Project: Application Server 7
> Issue Type: Bug
> Components: Server
> Environment: jboss-as-7.2.0.Alpha1-SNAPSHOT nightly build
> Reporter: Serkan Yıldırım
> Assignee: Jason Greene
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list