Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

- Previous: description
- Next: E

## domain

Defines a domain. This is the root element; there can only be one `domain` element in a `domain.xml` file.

### Superelements

none

### Subelements

The following table describes subelements for the `domain` element.

Table 1–42 `domain` Subelements

Element | Required | Description
--- | --- | ---
applications | zero or one | Contains deployed J2EE applications, J2EE modules, and lifecycle modules.
resources | zero or one | Contains configured resources.
configs | only one | Contains configurations.
servers | only one | Contains server instances.
clusters | zero or one | Contains clusters.
node-agents | zero or one | Contains node agents.
lb-configs | zero or one | Contains load balancing configurations.
system-property | zero or more | Specifies a system property.
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `domain` element.

Table 1–43 `domain` Attributes

Attribute | Default | Description
--- | --- | ---
`application-root` | domain-dir`/applications` | (optional) Specifies the absolute path where deployed applications reside for this domain.
`log-root` | 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.
`locale` | operating system default | (optional) Specifies the domain’s language.

- Previous: description
- Next: E

- © 2010, Oracle Corporation and/or its affiliates