Before you begin
Note: WebLogic Server Multitenant domain partitions are
deprecated in WebLogic Server 12.2.1.4.0. The related Console and help
pages will be removed in the next release.
Prior to creating partition-scoped, managed thread factory (MTF)
templates, you must first have created or imported a domain partition.
See Create Domain Partitions or Import partitions.
You can create MTF templates that are used by applications to create
managed threads within exisitng domain partitions.
To create a partition-scoped
MTF template:
- If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
-
In the left
pane of the Console, expand Environment and
select Concurrent Templates.
The Concurrent Manage Object Templates table displays in the
right pane showing all the CMO templates defined in the domain.
-
Click
New and select Managed Thread
Factory Template from the list.
-
Enter a name for the new MTF template.
-
From the Scope drop-down list, select the
name of the partition in which you want to use this MTF
template.
-
Optionally, enter addtional configuration information for this
MTF template:
- Priority - An integer that specifies
the priority assigned to the thread. The greater the number, the
higher the priority.
- Max Concurrent New Threads - The
maximum number of threads that are created by the MTF and are still
executing the
run()
method of the tasks.
For more information about
these fields, refer to Configuration Options.
-
Click Finish.
- To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediately—some require a restart (see Use the Change Center).
Result
The new partition-scoped MTF template appears in the Concurrent
Managed Object Templates table and in the domain partition configuration
under Domain Partitions > partition-name > Concurrent
Templates.