This appendix provides a detailed reference of the report group deployment descriptor elements and includes a brief overview of the descriptor. See Appendix B, "Report File Configuration Reference," for a detailed reference of the report file deployment descriptor elements that are used to create individual report files.
The following sections are included in this appendix:
The report group deployment descriptor specifies any number of individual reports that are created when the Coherence JMX Reporter is run. Two predefined descriptors are located in the coherence.jar file within the /reports directory. The default descriptor is called report-group.xml and includes a subset of the predefined reports. The report-all.xml descriptor includes all the predefined reports. The predefined report group deployment descriptors can be modified as required or new report group deployment descriptors can be created. The name and location of which report group deployment descriptor to use at run time is configured in the operational deployment descriptor and can be overridden in an operational override file. See Chapter 4, "Using JMX Reporting," for detailed information.
The report file deployment descriptor schema is defined in the coherence-report-group-config.xsd file which is located in the root of the coherence.jar library and at the following Web URL:
http://xmlns.oracle.com/coherence/coherence-report-group/1.0/coherence-report-group.xsd
The <report-group> element is the root element of the descriptor and typically includes the XSD reference, the Coherence namespace reference, and the location of the coherence-report-group-config.xsd file. For example:
<?xml version='1.0'?> <report-group xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/coherence/coherence-report-group-config" xsi:schemaLocation="http://xmlns.oracle.com/coherence/ coherence-report-group-config coherence-report-group-config.xsd">
|
Notes:
|
Table C-1 lists all non-terminal report group deployment descriptor elements.
Used in: init-params
The init-param element contains an initialization parameter for a report. The parameter consists of either a parameter name or type, and its value.
Table C-2 describes the subelements of the init-param element.
Table C-2 init-param Subelements
| Element | Required/ Optional |
Description |
|---|---|---|
|
|
Optional |
Specifies the name of the initialization parameter. This element cannot be used with the |
|
|
Optional |
Specifies the Java type of the initialization parameter. Supported types are:
This element cannot be used with the |
|
|
Required |
Specifies the value of the initialization parameter. The value is in a format specific to the type of the parameter. |
Used in: report-config
The init-params element contains a list of initialization parameters.
Table C-2 describes the subelements of the init-params element.
Table C-3 init-params Subelements
| Element | Required/ Optional |
Description |
|---|---|---|
|
Optional |
Specifies an initialization parameter for a report. |
Used in: report-group
The report-config contains the configuration file name and the initialization parameters for the report.
Table C-4 describes the subelements of the report-config element.
Table C-4 report-config Subelements
| Element | Required/ Optional |
Description |
|---|---|---|
|
|
Required |
Specifies a path to a report configuration descriptor that conforms to the |
|
Optional |
Specifies a list of initialization parameters. |
Used in: root element
The report-group element describes the report list, the frequency, the report parameters, and the output directory for the batch.
Table C-5 describes the subelements of the report-group element.
Table C-5 report-group Subelements
| Element | Required/ Optional |
Description |
|---|---|---|
|
|
Required |
A string containing the number of seconds, minutes between each execution of the report batch. 10s runs the report ever 10 seconds. 5m runs the report every 5 minutes. Selecting an appropriate frequency is critical. If the frequency is too short, the reporter can generate a large amount of data and consume significant disk space. If the frequency is too long, not enough information is generated. It is recommended that a process for purging and archiving historical information is in place before configuring the reporter. |
|
|
Optional |
The directory path to prepend to the output file names from the report configuration files. The username which the member is executing must have read write access to this path. |
|
Required |
Specifies a list of report configurations. |
Used in: report-group
The report-list element contains the list of reports to include in the batch.
Table C-6 describes the subelements of the report-list element.