[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:10:10 EDT 2012


Serkan Yıldırım created AS7-5719:
------------------------------------

             Summary: 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


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