Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5678

Honor the directory grouping by-type for domain server directories

XMLWordPrintable

      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/.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: