uCosminexus Application Server, Application Setup Guide
You specify the definition in order to control the number of threads executed concurrently for each URL group.
To enable the control of number of threads executed concurrently for each URL group, specify the definition for controlling the number of threads executed concurrently for each Web application. For more details on controlling of the number of threads executed concurrently for each Web application, see 9.11.2 Defining the control of the number of threads executed concurrently for each Web application.
WAR attribute file
Execute the following command to acquire a WAR attribute file:
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file |
cjgetappprop MyServer -name adder -type war -resname adder_war -c C: \home\adder_war.xml
Execute the following command to apply the values of the WAR attribute file:
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type war -resname WAR-display-name -c path-of-the-WAR-attribute-file |
cjsetappprop MyServer -name adder -type war -resname adder_war -c C: \home\adder_war.xml
The following table describes the property settings for controlling the number of threads executed concurrently for each URL group (<urlgroup-thread-control>):
| Items | Mandatory | Corresponding tags |
|---|---|---|
| Definition name | Y | <urlgroup-thread-control-name> |
| Maximum number of threads executed concurrently | Y | <urlgroup-thread-control-max-threads> |
| Number of exclusive threads | Y | <urlgroup-thread-control-exclusive-threads> |
| Size of the pending queue of each URL group | Y | <urlgroup-thread-control-queue-size> |
| URL pattern | Y | <urlgroup-thread-control-mapping> - <url-pattern> |
For details on the property settings, see 3.7.1 Contents of the WAR property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
1 |
|
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.