[jboss-jira] [JBoss JIRA] (WFLY-3472) JBOSS_HOME is not available in domain.conf

Chao Wang (JIRA) issues at jboss.org
Tue Jun 10 05:53:15 EDT 2014


Chao Wang created WFLY-3472:
-------------------------------

             Summary:  JBOSS_HOME is not available in domain.conf
                 Key: WFLY-3472
                 URL: https://issues.jboss.org/browse/WFLY-3472
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Scripts
    Affects Versions: 8.1.0.Final
            Reporter: Chao Wang
            Assignee: Chao Wang
            Priority: Minor


Description from linked BZ:
Move the domain.conf call in domain.sh (and also domain.conf.bat in domain.bat) so it's called after the JBOSS_HOME is set. Then it's possible to use it in the configuration file.

E.g. we use following line to enable security manager:
JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy==/tmp/security.policy -Djboss.home.dir=$JBOSS_HOME -Djboss.modules.policy-permissions=true"

The order is correct in the scripts for standalone (so the JBOSS_HOME is available in its conf file).



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list