Hitachi

uCosminexus Application Server Compatibility Guide


6.6.2 Execution environment settings (J2EE server settings)

To control the number of concurrently executing threads in the Web container, you must set up a J2EE server.

This section describes the settings for controlling the number of concurrently executing threads in the Web container.

The methods for controlling the number of concurrently executing threads include the controlling in Web container, in Web application, and in URL group.

Organization of this subsection

(1) Controlling in the Web container

To control the number of concurrently executing threads in the Web container, set the maximum number of threads that can be executed concurrently in the entire Web container. The number of threads set here is shared in all the Web applications deployed on the Web container.

Specify the definition for controlling the number of concurrently executing threads in the Web container in the following parameter within the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file.

webserver.connector.inprocess_http.max_execute_threads

Set the maximum number of threads that you can concurrently execute in the entire Web container.

For details on the Easy Setup definition file and parameters to specify, see Part 3 Reference (V9 Compatibility Mode).

(2) Controlling in the Web application

Note that when you control the number of concurrently executing threads in the Web application, you also need to simultaneously specify the settings to control the number of threads in the Web container.

Specify settings for controlling the number of concurrently executing threads in the Web application using the Easy Setup definition file and the server management commands. The method of setup is the same as is used for the Web server integration functionality. For details on how to set the number of concurrently executing threads for each Web application when the Web server integration functionality is used, see the manual uCosminexus Application Server Web Container Functionality Guide.

(3) Controlling in the URL group

To control the number of concurrently executing threads in the URL group, you must also specify settings for controlling the number of concurrently executing threads in the Web application and the settings for controlling the number of threads in the Web container simultaneously.

Specify settings for controlling the number of concurrently executing threads in the URL group by using the server management commands. The method of setup is the same as is used for the Web server integration functionality. For details on how to set the number of concurrently executing threads for each URL group when the Web server integration functionality is used, see the manual uCosminexus Application Server Web Container Functionality Guide.