Domain - system properties for log, data, temp aren't reflected
---------------------------------------------------------------
Key: AS7-1850
URL:
https://issues.jboss.org/browse/AS7-1850
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, Scripts
Reporter: Rostislav Svoboda
Assignee: Brian Stansberry
Fix For: 7.1.0.Alpha1
Some properties defined in
https://docs.jboss.org/author/display/AS71/Command+line+parameters and in
{{HostControllerEnvironment}} (org.jboss.as.host.controller) aren't reflected by
current implementation.
Affected properties:
- jboss.domain.data.dir
- jboss.domain.log.dir
- jboss.domain.temp.dir
In my scenario only jboss.domain.deployment.dir and jboss.domain.servers.dir were
reflected.
Structure for host-controller and process-controller logs + structure for data, log, tmp
directories for server instances can't be mapped to that three properties. Maybe these
properties could work:
- jboss.domain.host-controller.log.dir
- jboss.domain.process-controller.log.dir
- jboss.domain.server-one.data.dir
- jboss.domain.server-one.log.dir
- jboss.domain.server-one.temp.dir
- jboss.domain.server-xy.data.dir
- jboss.domain.server-xy.log.dir
- jboss.domain.server-xy.temp.dir
Reproducer of my steps:
{code}
rm -rf xx-data xx-log xx-temp xx-deployment xx-servers
mkdir xx-data xx-log xx-temp xx-deployment xx-servers
bin/domain.sh -Djboss.domain.data.dir=xx-data -Djboss.domain.log.dir=xx-log
-Djboss.domain.temp.dir=xx-temp -Djboss.domain.deployment.dir=xx-deployment
-Djboss.domain.servers.dir=xx-servers
bin/jboss-admin.sh --connect controller=127.0.0.1 command='deploy
/home/rsvoboda/devel/JBQA-5161-scripts-testing/target/props.war --all-server-groups'
bin/jboss-admin.sh --connect controller=127.0.0.1 command='undeploy props.war
--all-relevant-server-groups'
ls -al xx-data xx-log xx-temp xx-deployment xx-servers
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira