Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


5.3.9 Settings for the execution environment

To use the functionality for monitoring the execution time of J2EE application you must specify settings for the J2EE server and J2EE applications.

You reference the J2EE application settings only to set or change the properties of J2EE applications that do not contain cosminexus.xml.

Organization of this subsection

(1) Setting J2EE servers

Implement the J2EE server settings in the Easy Setup definition file. Specify whether to use the functionality for monitoring the execution time of J2EE application in ejbserver.ext.method_observation.interval parameter in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file. If you specify 0, the functionality for monitoring the execution time of J2EE application will be disabled. If you specify a valid value of 1 or more, the functionality for monitoring the execution time of J2EE application will be enabled and that value is used as the following time intervals:

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.

(2) Setting for J2EE applications

Implement the settings for J2EE applications in the execution environment using the server management commands and the property files. You use the following property files for defining the functionality for monitoring the execution time of J2EE application.

Setting the method timeout
  • Settings in each EJB

    SessionBean property file, EntityBean property file, or MessageDrivenBean property file

  • Settings in each Web application

    Servlet property file or filter property file

Setting the method cancellation mode

Application property file

The tags to be specified in each property file correspond to cosminexus.xml. For the definitions of cosminexus.xml, see 5.3.7 Definition in cosminexus.xml.