Setting MaxJobs/FlowLimit for a BW process running from Designer

Setting MaxJobs/FlowLimit for a BW process running from Designer

book

Article ID: KB0073425

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

This solution describes how to set MaxJobs/FlowLimit properties when running a BW process in Designer.

Issue/Introduction

Setting MaxJobs/FlowLimit for a BW process running from Designer

Environment

TIBCO ActiveMatrix BusinessWorks – All versions All H/W and O/S platforms

Resolution

Set MaxJobs/Flowlimit properties in the file properties.cfg in the default user directory of Designer. The default user directory is specified by the property user.dir in designer.tra.

Steps -
1. Examine designer.tra and find the value of java.property.user.dir. By default it is set to %DESIGNER_HOME% which is the location TIBCO_HOME/designer/5.x.
2. Create a file named properties.cfg in the user directory. Add the following lines to properties.cfg:
MaxJobs.*=10
FlowLimit.*=20

Note -
Whenever the engine is started in Designer, it will read properties.cfg and set Max Jobs and Flow Limit to the specified values. There is no need to restart Designer after updating properties.cfg; only the engine needs to be restarted.

The “*” after “MaxJobs.” means that the setting applies to all the process definitions. Just specifying MaxJobs=10 doesn't work. The “.*” is necessary. It is the same for FlowLimit.

It is also possible to specify MaxJobs.<Process Definition> for a specific process definition. For example, if the process definition name is Get Orders and it is under a folder named BusinessProcesses, the properties should be specified as follows.
MaxJobs.BusinessProcesses/Get\ Orders.process=10
FlowLimit.BusinessProcesses/Get\ Orders.process=20