Hitachi

uCosminexus Application Server System Design Guide


8.6.6 Setting the database timeout

This section explains the database timeout settings for the following databases:

In the case of Oracle, the items that can be set differ depending on whether the global transaction or the local transaction is being used.

Organization of this subsection

(1) Timeout in HiRDB

You can set the following three types of timeout values in HiRDB:

(2) Timeout in Oracle (for local transaction)

When you use the local transaction in Oracle, you can set up the following timeout values:

If a deadlock occurs, the Oracle message ORA-00060 is output. After the Application Server terminates the business method of the user application, the connection is closed and is deleted from the connection pool.

(3) Timeout in Oracle (for global transaction)

You can set up the following timeout values when the global transaction is being used in Oracle:

(4) Timeout in SQL Server

You can set the following two types of timeout values in the SQL Server:

(5) Timeout in XDM/RD E2

You can set the following five types of timeout values in XDM/RD E2:

(6) Processing of the user application when timeout or deadlock occurs during database access

When an exception occurs in the user application due to a deadlock or timeout of the database, roll back the active transactions and suspend the processing of the business method. Check and, if necessary, revise the tuning parameters explained in this section.