Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


3.3.4 Settings for the execution environment (J2EE server settings)

To collect the statistics files, you must specify settings for the J2EE server. You implement the J2EE server settings in the Easy Setup definition file. Specify the definition for statistics file collection in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file.

The statistics file is output at the following locations by default. You specify the working directory in the ejb.public.directory parameter of the <configuration> tag for the logical J2EE server (j2ee-server), in the Easy Setup definition file.

By default, the statistics output by the J2EE server or batch server is collected and output into a statistics file. When the statistics monitoring target exceeds the threshold value, an event is issued. If you want to change the output destination or number of statistics files or if you want to change the statistics threshold value and monitoring interval, change the settings in the Easy Setup definition file.

The following table describes the statistics file collection definition specified in the Easy Setup definition file. For batch server, the statistics file collection is specified in the user properties for the batch server in the Easy Setup definition file.

Table 3‒6: Definition required for statistics file collection in the Easy Setup definition file

Items

Parameters to be specified

Setting contents

Statistics collection interval

ejbserver.management.statistics.interval

Specify the interval (seconds) to acquire the statistics.

Output the statistics

ejbserver.management.stats_file.enabled

Specify whether to output the statistics files. The default value is true.

ejbserver.management.stats_file.dir

Specify the output directory of the statistics file.

ejbserver.management.stats_file.num

Specify the number of statistics files.

ejbserver.management.stats_file.period

Specify the file switching interval (hour) for the statistics files.

ejbserver.management.stats_file.base_time

Specify the file switching base time for the statistics file.

For details on the Easy Setup definition file and the parameters to be specified, see 4.3 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.