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. |