3.6.4 Changing the maximum number of concurrent executions for a CTM schedule queue
This subsection describes how to change the maximum value for the dynamically changed number of concurrent executions of a J2EE application for a schedule queue.
The procedure for changing the maximum value for the dynamically changed number of concurrent executions of a J2EE application for a CTM schedule queue is as follows:
-
Check the current value for the maximum number of concurrent executions for the target CTM schedule queue.
To do this, use the ctmlsque CTM command. For details, see (1) Checking the maximum operating status of CTM schedule queues.
-
Change the maximum number of concurrent executions for the target CTM schedule queue.
To do this, use the ctmchpara CTM command. For details, see (2) Checking the number of concurrent executions for a CTM schedule queue.
-
Check the new value for the maximum number of concurrent executions for the target CTM schedule queue.
To do this, use the ctmlsque CTM command. For details, see (1) Checking the operating status of CTM schedule queues.
Note that you can change the maximum number of concurrent executions for a CTM schedule queue when the state of the schedule queue is one of the following:
-
A: Scheduling is possible.
-
H: Schedule queue is locked.
-
C: Locked but scheduling is possible.
- Organization of this subsection
(1) Checking the operating status of CTM schedule queues
To check the operating status of CTM schedule queues, execute the ctmlsque command with -CTMAppInfo specified. This command outputs the information about the J2EE applications that share schedule queues. The following shows the format and an execution example of the above command.
- Format:
ctmlsque -CTMDomain CTM-domain-name -CTMID CTM-identifier -CTMAppInfo
- Execution example:
ctmlsque -CTMDomain domain01 -CTMID CTM01 -CTMAppInfo
For details about the ctmlsque command and the information output by the command, see ctmlsque (output schedule queue information) in the uCosminexus Application Server Command Reference Guide.
(2) Checking the maximum number of concurrent executions for a CTM schedule queue
To change the maximum number of concurrent executions for a CTM schedule queue, execute the ctmchpara command. The following shows the format and an execution example of the above command.
- Format:
ctmchpara -CTMDomain CTM-domain-name -CTMID CTM-identifier -CTMQueue registered-schedule-queue-name -CTMChangeCount number-of-concurrent-executions
- Execution example:
ctmchpara -CTMDomain domain01 -CTMID CTM01-CTMQueue que01 -CTMChangeCount 10
After executing the command, confirm that the change has been applied. For details about how to check the status of schedule queues, see (1) Checking the operating status of CTM schedule queues.
For details about the ctmchpara command and the information output by the command, see ctmchpara (change the number of concurrent executions for schedule queues) in the uCosminexus Application Server Command Reference Guide.