9.3.3 Tuning parameters for setting up the timeout
This section explains how to set up the tuning parameters used for timeout settings.
- Organization of this subsection
(1) Timeout set up in the batch server for remotely invoking the Enterprise Bean (RMI-IIOP communication) and for invoking the Naming Service by JNDI
A tuning parameter for setting up the timeout at point 1 of Figure 9-1.
The setup method is same as for the J2EE application execution platform. See (6) Timeout set in the EJB client for remotely invoking the Enterprise Bean (RMI-IIOP communication) and for invoking the Naming Service by JNDI of 8.6.8 Tuning parameters for setting the timeout.
Note that point 7 of 8.6.8 Tuning parameters for setting the timeout correspond to point 1 of Figure 9-1.
(2) Timeout set up in the EJB client for invoking the Enterprise Bean from CTM
A tuning parameter for setting up the timeout at point 2 of Figure 9-1.
The setup method is same as for the J2EE application execution platform. See (7) Timeout set up in the EJB client for invoking the Enterprise Bean from CTM of 8.6.8 Tuning parameters for setting the timeout.
Note that point 8 of 8.6.8 Tuning parameters for setting the timeout correspond to point 2 of Figure 9-1.
(3) Timeout for the method execution time set up in the EJB that is accessed by invoking the Enterprise Bean
This is a tuning parameter for setting up a timeout at point 3 of Figure 9-1.
The setup method is same as for the J2EE application execution platform. See (11) Method timeout in J2EE application of 8.6.8 Tuning parameters for setting the timeout.
Note that point 9 of 8.6.8 Tuning parameters for setting the timeout correspond to point 3 of Figure 9-1.
(4) Timeout set up in the batch server for the database transaction (when a DB Connector is used)
This is a tuning parameter for setting up the timeout at point 4 of Figure 9-1.
You set up the tuning parameter for each batch server, Enterprise Bean, interface, or each invocation by API (in BMT).
The following table describes the tuning parameters for a transaction timeout:
|
Unit |
Setup method |
Setup item |
Location of setup |
|---|---|---|---|
|
Each batch server |
Smart Composer functionality |
Default transaction timeout value of a transaction |
|
|
Each API (BMT) |
API |
Transaction timeout period |
UserTransaction#setTransactionTimeout method# |
- #
-
The name of the package is javax.transaction.
(5) Database timeout
This is a tuning parameter for setting up a timeout at point 5 of Figure 9-1.
The setup method is same as for the J2EE application execution platform. See (10) Database timeout of 8.6.8 Tuning parameters for setting the timeout.
Note that point 12 of 8.6.8 Tuning parameters for setting the timeout correspond to point 5 of Figure 9-1.