3 batch.ini

The batch.ini file provides configuration information for batch processes, which are used in the background by WebCenter Sites for various reasons (publishing, for example).

Properties in batch.ini are organized by function on the following tabs in the Property Editor:

3.1 Configuration Tab

The Configuration tab holds properties that are used to configure settings for the threads that are used by the batch processes.

Table 3-1 Properties in batch.ini: Configuration Tab

Property Description

thread.count

Specifies the number of dispatcher threads to allocate and manage in the pool.

Default value: 32

thread.growcache

Specifies whether additional dispatcher threads (in excess of the number specified by thread.count) can be allocated to the pool if they are needed.

Possible values: true | false

Default value: false

thread.idle

Applies only when thread.growcache is set to true.

Specifies the number of seconds a dispatcher thread can remain idle before it is released by the pool.

Default value: 10

thread.wait

Applies only when thread.growcache is set to false.

Specifies the number of seconds that a batch process waits for a free dispatcher thread before it reports an error because it cannot complete its task.

Default value: 15


3.2 Debug Tab

Table 3-2 Properties in batch.ini: Debug Tab

Property Description

debug

Specifies whether debugging for batch processes is enabled or disabled. If you set this value to true, messages about the status of batch processes are written to the WebCenter Sites log file.

Default value: false


3.3 Results Tab

Table 3-3 Properties in batch.ini: Results Tab

Property Description

request.folder

Specifies the location of the file that stores information about the results of batch processes. For example, the WebCenter Sites publishing system uses this directory to hold the publishing log files.

Default value: /dispatcher/


3.4 Security Tab

Table 3-4 Properties in batch.ini Security Tab

Property Description

security.class

Specifies the name of the class file that is used for security checks. The default is provided for reference only:

com.openmarket.Batch.DefaultSecurity

Do not change the value of this property


3.5 User Defined Tab

Table 3-5 Properties in batch.ini: User Defined Tab

Property Description

This tab, by default, holds no properties.

N/A