uCosminexus Application Server, Web Container Functionality Guide

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

2.17.4 Definition in cosminexus.xml

This subsection describes the definitions in cosminexus.xml required in the application development environment.

Specify the definition for controlling the number of threads in the Web application in the <war> tag of cosminexus.xml.

The following table lists the definitions in cosminexus.xml for controlling the number of threads in the Web applications:

Table 2-53 Definitions in cosminexus.xml for controlling the number of threads in the Web applications

Items Tag to be specified Setting contents
Controlling the number of concurrently executing threads in a Web application# <thread-control-max-threads> tag in <thread-control> tag The maximum number of threads that you can concurrently execute in a Web application can be specified.
Number of dedicated threads in the Web application. <thread-control-exclusive-threads> tag in <thread-control> tag You can specify the minimum number of threads to be secured in the Web application (number of dedicated threads).
If you do not want to specify the number of dedicated threads, specify 0.
Pending queue for each Web application <thread-control-queue-size> tag in <thread-control> tag When the number of executing threads reaches the maximum number, the request is accumulated in a queue. You specify the pending queue size used at this time for each Web application.

Note:
You can also dynamically change the settings for the number of concurrently executing threads in the Web applications by using the management command (mngsvrutil). As a result, you can change the setting of the number of concurrently executing threads without stopping the service of running Web applications. For details on dynamically changing the maximum number of concurrently executing threads of the Web applications, see 2.19 Dynamic change in the number of concurrently executing threads.

For details on the tags to be specified, see 2.2.6 Details of the War property in the uCosminexus Application Server Application and Resource Definition Reference Guide.