[jboss-jira] [JBoss JIRA] (AS7-3800) JBOSS_BASE_DIR is checked in standalone.sh but not used to set -Djboss.server.base.dir

Stian Lund (JIRA) jira-events at lists.jboss.org
Thu Feb 16 14:21:36 EST 2012


Stian Lund created AS7-3800:
-------------------------------

             Summary: JBOSS_BASE_DIR is checked in standalone.sh but not used to set -Djboss.server.base.dir
                 Key: AS7-3800
                 URL: https://issues.jboss.org/browse/AS7-3800
             Project: Application Server 7
          Issue Type: Bug
          Components: Scripts, Server
    Affects Versions: 7.1.0.Final
         Environment: Linux, WIndows
            Reporter: Stian Lund
            Assignee: Brian Stansberry
            Priority: Minor


In standalone/domain.sh JBOSS_BASE_DIR is checked for and and used to set vars JBOSS_LOG_DIR and JBOSS_CONFIG_DIR (introduced in 7.1 Final) but not actually used to set java property jboss.server.base.dir, resulting in $JBOSS_HOME/standalone(/domain) still being used for tmp and cache.

Workaround is to still have -Djboss.server.base.dir set in launch parameter or init-script. Still should be put into script like:
"-Djboss.server.base.dir=$JBOSS_BASE_DIR"




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list