]
Brian Stansberry moved WFLY-6605 to WFCORE-1555:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-1555 (was: WFLY-6605)
Component/s: Domain Management
(was: Documentation)
(was: Domain Management)
Affects Version/s: (was: 10.0.0.Final)
Domain Setup docs doesn't explain domain.xml vs host.xml
--------------------------------------------------------
Key: WFCORE-1555
URL:
https://issues.jboss.org/browse/WFCORE-1555
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: John Mazzitelli
There looks to be some information missing from:
https://docs.jboss.org/author/display/WFLY10/Domain+Setup
Or at least it is confusing. Notice that some of the instructions have this:
"(See domain/configuration/host.xml)"
and in other parts it has this:
"(See domain/configuration/domain.xml)"
Other than that, there is no mention of "host.xml" versus
"domain.xml". This is confusing because the names of the files seem to infer
that "domain.xml" is the configuration for the domain controller and
"host.xml" is the configuration for the slave host controllers, but that clearly
isn't the case (as the instructions both say to edit host.xml to configure both DC and
HC). Both DC and HC's config files have:
<host xmlns="urn:jboss:domain:3.0"> ...
as the root node, whereas domain.xml has "<domain>".
The docs should make it clear what and when domain.xml is used versus host.xml. It still
isn't clear to me when domain.xml is used/when it is parsed. I assume it is read in by
the DC during initialization.