Defines a domain administration server configuration. The domain administration server runs the Administration Console.
The following table describes subelements for the das-config element.
Table 1–42 das-config Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the das-config element. For more information about deployment topics such as dynamic reloading and autodeployment, see the Sun GlassFish Enterprise Server 2.1 Developer’s Guide.
Table 1–43 das-config Attributes
Contains a text description of the parent element.
admin-object-resource, appclient-module, connector-connection-pool, connector-module, connector-resource, custom-resource, ejb-module, event, extension-module, external-jndi-resource, j2ee-application, jdbc-connection-pool, jdbc-resource, lifecycle-module, mail-resource, management-rule, mbean, persistence-manager-factory-resource, property, system-property, transformation-rule, web-module
none - contains data
Configures the Diagnostic Service, which lets you generate a diagnostic report for troubleshooting in case of Enterprise Server malfunctioning such as exceptions, performance bottlenecks, or unexpected results.
The following table describes subelements for the diagnostic-service element.
Table 1–44 diagnostic-service Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the diagnostic-service element.
Table 1–45 diagnostic-service Attributes
Attribute |
Default |
Description |
---|---|---|
true |
(optional) If true, computes a checksum of binaries. |
|
true |
(optional) If true, captures the output of the asadmin verify-domain-xml command. |
|
true |
(optional) If true, captures the log generated during Enterprise Server installation. |
|
true |
(optional) If true, collects operating system level information. |
|
true |
(optional) If true, collects HADB related data. Applicable if HADB is installed and you have selected the enterprise profile. For more information about the HADB, see the Sun GlassFish Enterprise Server 2.1 High Availability Administration Guide. |
|
true |
(optional) If true, captures application deployment descriptors in plain text. If any deployment descriptors contain confidential information, you should set it to false. |
|
INFO |
(optional) Specifies the log level for the diagnostic report. See module-log-levels for a description of log levels. If set to OFF, log contents are not captured. |
|
500 |
(optional) Specifies the maximum number of log entries captured. |
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. |