In "8.8.3. Creating Hierarchical Profiles" from
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>
- is cloned by
-
JBEAP-14730 [GSS](CD.13) Creating Hierarchical Profiles should note that profiles must be self sufficient
- Closed
- is related to
-
JBEAP-14681 [GSS](7.3.z) Improve error message if a parent profile references a child profile's value
- Closed
-
WFCORE-3766 Improve error message if a parent profile references a child profile's value
- Closed
- relates to
-
JBEAP-14681 [GSS](7.3.z) Improve error message if a parent profile references a child profile's value
- Closed
-
WFCORE-3766 Improve error message if a parent profile references a child profile's value
- Closed