uCosminexus Application Server, Web Container Functionality Guide

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

5.9.2 Execution environment settings (J2EE server settings)

To set up a communication timeout for the in-process HTTP server, you must set up the J2EE server.

This subsection describes the settings and examples of communication timeout in the in-process HTTP server.

You set up communication timeout when receiving requests and when sending responses. The setting of communication timeout is described separately for receiving of a request and sending of a response.

Organization of this subsection
(1) Communication timeout settings for receiving requests
(2) Communication timeout settings for sending responses
(3) Example settings

(1) Communication timeout settings for receiving requests

You set the communication timeout for receiving requests between the client and the in-process HTTP server.

Specify the communication timeout for receiving requests in the in-process HTTP server with the following parameters within the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file:

webserver.connector.inprocess_http.receive_timeout
Specifies the waiting time for the process of receiving a request from the client.

For details on the Easy Setup definition file and the parameters to be specified, see the uCosminexus Application Server Definition Reference Guide.

(2) Communication timeout settings for sending responses

You set the communication timeout for sending responses between the in-process HTTP server and the client.

Specify the communication timeout for sending responses in the in-process HTTP server with the following parameters within the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file:

webserver.connector.inprocess_http.send_timeout
Specifies the waiting time for the process of sending a response to the client.

For details on the Easy Setup definition file and the parameters to be specified, see the uCosminexus Application Server Definition Reference Guide.

(3) Example settings

An example of settings for communication timeout in the in-process HTTP server is as follows:

 
...
<param>
 <param-name>webserver.connector.inprocess_http.receive_timeout</param-name>
 <param-value>300</param-value>
</param>
 
<param>
 <param-name>webserver.connector.inprocess_http.send_timeout</param-name>
 <param-value>600</param-value>
</param>
...
 

In this example, 300 seconds is specified as the request receiving timeout and 600 seconds as the response sending timeout.