Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


4.3.2 Definition in cosminexus.xml

This subsection describes the definitions required in cosminexus.xml in the application development environment.

Specify the definition for using the resource depletion monitoring functionality in the <war> tag of cosminexus.xml.

The following table describes the definitions of the resource depletion monitoring functionality in cosminexus.xml:

Table 4‒3: Definition of the resource depletion monitoring functionality in cosminexus.xml

Type of resource

Specified tags

Setting contents

HTTP requests pending queue

Specify the following tags under the <war>-<thread-control>-<resource-watcher> tag

  • <watcher-enabled> tag

  • <watcher-threshold> tag

  • <watcher-interval> tag

  • <watcher-writefile-enabled> tag

Make the settings for monitoring the HTTP requests pending queue for the pending queue of each Web application in each J2EE application.

  • Issuing of alert by monitoring the HTTP requests pending queue

  • Monitoring the threshold value

  • Monitoring interval

  • Existence of output of resource depletion monitoring log file

Number of sessions

Specify the following tags under the <http-session>-<resource-watcher> tag

  • <watcher-enabled> tag

  • <watcher-threshold> tag

  • <watcher-interval> tag

  • <watcher-writefile-enabled> tag

Make the settings for monitoring the number of sessions for each J2EE application.

  • Issuing of alert by monitoring the number of sessions

  • Monitoring the threshold value

  • Monitoring interval

  • Existence of output of resource depletion monitoring log file

For details on the specified tags, see 2.2.6 Details of the WAR property in the uCosminexus Application Server Application and Resource Definition Reference Guide.