Defines a domain. This is the root element; there can only be one domain element in a domain.xml file.
none
The following table describes subelements for the domain element.
Table 1–46 domain Subelements| Element | Required | Description | 
|---|---|---|
| zero or one | Contains deployed Java EE applications, Java EE modules, and lifecycle modules. | |
| zero or one | Contains configured resources. | |
| only one | Contains configurations. | |
| only one | Contains server instances. | |
| zero or one | Contains clusters. | |
| zero or one | Contains node agents. | |
| zero or one | Contains load balancing configurations. | |
| zero or one | Contains load balancers. | |
| zero or more | Specifies a system property. | |
| zero or more | Specifies a property or a variable. | 
The following table describes attributes for the domain element.
Table 1–47 domain Attributes| Attribute | Default | Description | 
|---|---|---|
| domain-dir/applications | (optional) Specifies the absolute path where deployed applications reside for this domain. | |
| domain-dir/logs | (optional) Specifies where the domain’s log files are kept. The directory in which the log is kept must be writable by whatever user account the server runs as. See the log-service description for details about logs. | |
| operating system default | (optional) Specifies the domain’s language. |