Hitachi

uCosminexus Application Server Compatibility Guide


12.1.2 Parameters used for setting up the worker definition

The following table describes the parameters used for setting a worker definition.

In the table below, Default value means the value that is assumed when the parameter is not specified. VR is the version of Application Server on which parameters are introduced or changed. For details about the contents to be specified in param-value corresponding to 'Value of param-name', see 14.2.4 workers.properties (Worker definition file).

Note:

To enable the specification of parameters that set up the worker definition when you specify the AllText parameter, include the following code in the setup file:

Include "Cosminexus-installation-directory/CC/web/redirector/servers/Logical-Web-server/mod_jk.conf"
Organization of this subsection

(1) Keys specifiable in the worker definition file

These keys define workers, and the parameters for each worker. If an invalid value is specified for this key, the operations might not execute properly.

Value of param-name

Specifiable value

Default value

VR

worker.list

Specify any string.

None

07-50

worker.worker-name.parameter

For details about the defined parameters, see (2) Parameters defined for each worker.

None

07-50

(2) Parameters defined for each worker

Value of param-name

Specifiable value

Default value

VR

worker.worker-name.balanced_workers

Specify any string.

None

07-50

worker.worker-name.cachesize#

Specify the value using an integer from 1 to 2147483647.

64

07-50

worker.worker-name.default_worker

Specify the worker names delimited with commas (,).

The spaces at the beginning and end are ignored.

None

07-50

worker.worker-name.delegate_error_code

Specify 400 to 417, 422 to 424, 500 to 505, 507, and 510 by using comma (,) as the delimiter.

None

07-50

worker.worker-name.host

You can specify the following values:

  • IPv4 address

  • Host name

  • @myhost

Note:

If you specify an IPv4 address or a host name, specify the value of the <host-name> tag in the host definition. If you specify a different value, a warning message (KEOS24195-W) is output and an unintended setting might be set.

None

07-50

worker.worker-name.lbfactor#

Specify the value using an integer from 0 to 9999999999.

1

07-50

worker.worker-name.port

Specify an integer from 1 to 65535.

None

07-50

worker.worker-name.post_data

Specify a string within 10 numeric characters (0 to 9) and a string with m, M, k, and K continuing 0 to one time.

None

07-50

worker.worker-name.post_size_workers

Specify any string.

None

07-50

worker.worker-name.receive_timeout#

Specify the value using an integer from 0 to 3600.

3600

07-50

worker.worker-name.type

Specify one of the following values:

  • ajp13

  • lb

  • post_size_lb

None

07-50

Note:

When you define a new worker, make sure that you define the following parameters:

For details on JkMount, see 12.1.1 Parameters that set up the redirector action definition for Cosminexus HTTP Server.

- worker.list

- worker.worker-name.host

- worker.worker-name.port

- worker.worker-name.type

- JkMount

#

When set up on combined-tier or http-tier, the default value is applied to the worker with the worker name defined in the J2EE server name. If you want to change the default value, define the worker described in Note above.