Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14680

[GSS](7.1.z) Creating Hierarchical Profiles should note that profiles must be self sufficient

XMLWordPrintable

      In "8.8.3. Creating Hierarchical Profiles" from

      https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/configuration_guide/#creating_hierarchical_profiles

      We should add a note that Creating Hierarchical Profiles should note that profiles must be self sufficient, meaning base-full-ha configuration cannot reference a subsystem that is not in base-full-ha. For example if base-full-ha specifies the ejb subsystem use an infinispan cache-container named ejb, it needs the infinispan subsystem defined in base-full-ha.

      The docs already mention that you cannot override values in parent profile. So you also cannot reference values in a child profile from a parent profile, they need to be self sufficient.

      <profile name="base-full-ha">
      ...
                  <subsystem xmlns="urn:jboss:domain:ejb3:5.0">
      ...
                      <caches>
                          <cache name="simple"/>
                          <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
                      </caches>
                      <passivation-stores>
                          <passivation-store name="infinispan" cache-container="ejb" max-size="10000"/>
                      </passivation-stores>
      ...
      </profile>
      
      <profile name="full-ha" includes="base-full-ha">
      ...
                  <subsystem xmlns="urn:jboss:domain:infinispan:4.0">
                      <cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
                          <transport lock-timeout="60000"/>
                          <replicated-cache name="default">
                              <transaction mode="BATCH"/>
                          </replicated-cache>
                      </cache-container>
                      <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
                          <transport lock-timeout="60000"/>
                          <distributed-cache name="dist">
                              <locking isolation="REPEATABLE_READ"/>
                              <transaction mode="BATCH"/>
                              <file-store/>
                          </distributed-cache>
                      </cache-container>
      ,,,
      </profile>
      

            rhn-support-chuffman Christian Huffman
            rhn-support-bmaxwell Brad Maxwell
            Martin Simka Martin Simka
            Martin Simka Martin Simka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: