uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

4.6.7 Setting the communication timeout when sending and receiving a response (When the Smart Composer functionality is not used)

You set the communication timeout for sending and receiving responses between the Web container and the redirector and between the Web server and the client.

The following are the methods for setting a communication timeout in each of the cases:

Organization of this subsection
(1) Settings in the Web container for sending responses
(2) Settings in the redirector for receiving responses
(3) Settings in the Web server for sending responses

(1) Settings in the Web container for sending responses

In the Web container, you specify the communication timeout for the process of sending a response from the Web container to the redirector. Set the waiting time for sending a response from the Web container in the following file:

(2) Settings in the redirector for receiving responses

Set the communication timeout when the redirector receives a response from the Web container, to the redirector.

(a) How to set

Set the waiting time for the response from the Web container in the following file:

(b) Precautions for setup

You can detect Web application failure by a timeout in receiving a response in the redirector. Therefore, depending on the operation state, consider the time required for processing Web applications and set a value from which failure can be detected as the communication timeout value.

Take the following into the consideration when you set the timeout value for receiving responses in the redirector:

(3) Settings in the Web server for sending responses

In the Web server, you can set the communication timeout for sending a response to the client.

(a) How to set

Set the waiting time for the response from the client in the following files:

(b) Precautions for setup

To set the timeout for sending responses in the Web server, take into consideration the network configuration and traffic status between the client and the Web server and specify adequate time for sending and receiving data with the client.

Also, as the timeout value set in the Web server for sending responses, specify a value smaller than the timeout value in the Web container for sending responses. If the timeout for sending responses in the Web server is greater than timeout for sending responses in the Web container, when failure occurs between the client and the Web server, the timeout in the Web container for sending a response to the redirector might occur earlier than the timeout in the Web server for sending response to the client. In this case, one cannot determine whether the failure has occurred between the client and the Web server or between the redirector and the Web container.