uCosminexus Application Server, Expansion Guide

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

4.7 Settings of the execution environment

You are required to perform the following settings for using the scheduling functionality:

This section describes the respective settings. Note that you also need to specify the definition of the batch application execution functionality for using the scheduling functionality. For details on the definition of the batch application execution functionality, see 2.3.10 Settings of the execution environment (Setting batch servers).

Organization of this section
(1) Settings of batch servers
(2) Settings of CTM
(3) Settings for the commands to be used with batch applications

(1) Settings of batch servers

You execute the batch server settings in the Easy Setup definition file. You specify the definitions of the scheduling functionality in the <configuration> tag of logical J2EE servers (j2ee-server) in the Easy Setup definition file.

The following table describes the definitions of the scheduling functionality in the Easy Setup definition file.

Table 4-6 Definitions of scheduling functionality in Easy Setup definition file

Item Parameter to be specified Settings Required or optional
Settings for using the scheduling functionality ejbserver.ctm.enabled Specify whether the scheduling functionality is to be used. true is specified by default. If you specify ctm-tier in the tier-type tag, true is automatically specified when building a system. Optional
Settings for using Smart Agent vbroker.agent.enableLocator Specify that Smart Agent is to be used. false is specified by default. However, true is automatically specified when integrating with CTM. Therefore, you need not change the parameter value to true. Optional
Settings for the schedule group name ejbserver.batch.schedule.group.name Specify the schedule group name of a batch server group managed by CTM. JOBGROUP is specified by default.
CTM schedules the execution of batch applications for respective schedule groups.
If you divide a schedule queue by using multiple schedule groups, specify the schedule group names for respective batch servers.
Optional
Settings for the length of a schedule queue ejbserver.batch.queue.length Specify the length of a schedule queue that is created by CTM. 50 is specified by default. Optional

Legend:
Optional: Specify as and when required

Note: This section describes the main parameters to be specified when using the scheduling functionality. When using the scheduling functionality, you can also optionally specify the following parameters starting with ejbserver.ctm:

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

(2) Settings of CTM

You execute the CTM settings with the Easy Setup definition file. You specify the definition of the scheduling functionality in the configuration tag of the logical CTM (componenttransaction-monitor) in the Easy Setup definition file. The following parameters are to be specified. Specify these parameters without fail.

For details on the Easy Setup definition file and parameters, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.

(3) Settings for the commands to be used with batch applications

You execute the settings of the commands to be used with batch applications, in usrconf.cfg (option definition file for batch applications). You specify command options in usrconf.cfg for definitions of the scheduling functionality.

The following table describes the definitions of the scheduling functionality in usrconf.cfg.

Table 4-7 Definitions of the scheduling functionality in usrconf.cfg

Item Key to be specified Settings Required or optional
Settings for using the scheduling functionality batch.ctm.enabled Specify whether the scheduling functionality is to be used. Specify the parameter value as true without fail. Required
Settings for the schedule group name batch.schedule.group.name Specify the schedule group name of a batch server group managed by CTM. JOBGROUP is specified by default.
CTM schedules the execution of batch applications for respective schedule groups.
Optional
Setting the maximum time for connecting to CTM batch.request.timeout Specify a timeout between the batch execution command and a batch sever, and a timeout between the batch forced stop command or the batch list display command and CTM. 0 (no timeout) is specified by default. Optional
Settings for a port number used by Smart Agent batch.vbroker.agent.port Specify a port number used by Smart Agent. 14000 is specified by default. Optional

Legend:
Required: You must specify
Optional: Specify as and when required

Note: This section describes the main keys to be specified when using the scheduling functionality. For details on usrconf.cfg (option definition file for batch applications) and the keys, see 3.6 usrconf.cfg (option definition file for batch applications) in the uCosminexus Application Server Definition Reference Guide.