Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


5.3.3 Method Timeout

The method timeout functionality performs timeout of the methods that do not terminate within a fixed time and notifies the same to the user.

Organization of this subsection

(1) Determining a timeout and operations after the timeout

The timeout occurs when the invocation of the method monitored in the monitoring base satisfies the following formula:

Time-when-the-timeout-is-determined - Method-start-time > Timeout-time

You can select either of the following operations (Method cancellation mode) after the occurrence of timeout.

In both the cases, KDJE52716-I message is displayed when the timed out invocation terminates.

(2) Target processes of the method timeout functionality

Specify the timeout settings in the target processes of method timeout. The locations set are as follows:

Note that the following processes are not included in the scope of method timeout:

There are times when you cannot perform method timeout depending upon the data structure of the J2EE application. For details, see 5.3.8 Precautions When Implementing.

(3) Timeout detection interval and method timeout time

The following settings are required when using the method timeout functionality:

For details on the settings for monitoring the execution time of J2EE application, see 5.3.9 Settings for the execution environment.