-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
Currently if one of the directories (jboss.server.log.dir, jboss.server.tmp.dir or jboss.server.data.dir) are overridden the directory grouping is ignored. It would be nicer if the directory grouping was set to by-type the base directory would be used, but the by-type configuration would be honored.
${JBOSS_HOME}/bin/domain.sh -Djboss.server.log.dir=/var/log/
host.xml
<host name="master" xmlns="urn:jboss:domain:1.3"> ... <servers directory-grouping="by-type"> <server name="server-one" group="main-server-group"> </server> <server name="server-two" group="main-server-group" auto-start="true"> <!-- server-two avoids port conflicts by incrementing the ports in the default socket-group declared in the server-group --> <socket-bindings port-offset="150"/> </server> <server name="server-three" group="other-server-group" auto-start="false"> <!-- server-three avoids port conflicts by incrementing the ports in the default socket-group declared in the server-group --> <socket-bindings port-offset="250"/> </server> </servers> </host>
Should result in a log directory for server-one of /var/log/servers/server-one/.