Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


5.3.1 Overview of monitoring and canceling the execution time of J2EE application

If an infinite loop occurs internally in a J2EE application, you will not be able to control the operations of the J2EE application. For troubleshooting, set a timeout value in the runtime of the J2EE application such that the control is returned even if the process is not completed after a definite period.

You can use the following two types of functionality to specify such settings:

With the function, a timeout period can be set and monitored in each method of a J2EE application, and the timeout of requests that are not stopped within a fixed period can be detected (the method timeout function). Furthermore, if a timeout occurs, a method can be canceled forcibly (the method cancellation function). At that time, transaction is also forcibly concluded. `You can set the method cancellation function such that it is executed automatically.