Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


5.5.6 Settings for execution environment

When using the functionality for J2EE application operations, you must specify settings for the J2EE server and J2EE applications.

Organization of this subsection

(1) Setting J2EE servers

To use the functionality for J2EE application operations, you must specify settings for the J2EE server. Implement the J2EE server settings in the Easy Setup definition file. Specify the definition of the functionality for J2EE application operations in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file.

Table 5‒23: Definitions required for the functionality for J2EE application operations

Items

Parameter to be specified

Setting contents

Forced termination of a J2EE application

ejbserver.deploy.app.stopforcibly.disabled#1

Specifies whether to use the forced termination functionality of the J2EE application.

If the front-end (element that forms the request socket from the client perspective) of the J2EE application is an Enterprise Bean, use the server management command to specify the front Enterprise Bean (Front EJB). For details on the settings for using the server management commands to forcibly terminate a J2EE application, see (2) Setting the J2EE applications.

Monitoring the execution time of J2EE application

ejbserver.ext.method_observation.interval#2

Specifies whether to use the functionality for monitoring the execution time of J2EE application , the time interval for checking whether the processing of the request has timed out, and the time interval for canceling a timed out request (method).

Specify the value for method timeout and the method cancellation mode. This value will be used in the functionality for monitoring the execution time of J2EE application runtime using the server management commands.

For detailed settings, see 5.3.9(2) Setting for J2EE applications.

#1

Specify this parameter in the JavaVM system properties of the J2EE server in the Easy Setup definition file.

#2

Specify this parameter in the user properties of the J2EE server in the Easy Setup definition 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.

(2) Setting the J2EE applications

Implement the J2EE application settings in the execution environment using the server management commands and property files. To define the forced termination of a J2EE application, use the SessionBean property file, EntityBean property file, or the MessageDrivenBean property file.

The tags to be specified in each property file correspond to cosminexus.xml. For details on the definition of cosminexus.xml, see 5.5.5 Definition in cosminexus.xml.