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–38 domain Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Contains system applications. |
|
zero or one |
Contains deployed Java EE applications, Java EE modules, and applications created using other supported technologies. |
|
zero or one |
Contains configured resources. |
|
only one |
Contains configurations. |
|
only one |
Contains server instances. |
|
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–39 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. |
|
none; value changes with each major release |
Specifies the version of the GlassFish Server as returned by the fullVersion field of the com.sun.appserv.server.util.Version class. |