To configure the recycling strategy of the AppDomains used for running job steps in a JES region:
-
Open the region startup file using the
Enterprise Server for .NET Administration UI's Region Startup File Editor.
-
Select the
Region node in the
Results pane. See number 1 in the diagram below. A properties window is now displayed to the right-hand side of the
Results pane.
-
Locate the
Recycling category in the properties window and select the
Strategy property. If the property's
Default value is selected, this will result in the AppDomain used to run a job's steps to be recycled at the end of each job. If
the property's
Configurable value is selected, you can then additionally specify the time period after which the job steps AppDomain is recycled, or
whether the AppDomain is recycled after a region switch. If neither a time period nor a region switch are specified, the job
steps AppDomain will only be unloaded when a
seesys -recycle|-phasein command is run. See number 2 in the diagram below.
-
Click either
File > Save, or the
Save icon in the toolbar to save the file. See number 3 in the diagram below.
You must cold-start the region for the changes to take effect.