Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Create a global managed thread factory template


You can create managed thread factory (MTF) templates that are used by applications to create managed threads.

To create a MTF template for the domain:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. 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.

  3. Click New and select Managed Thread Factory Template from the list.
  4. Enter a name for the new MTF template.
  5. From the Scope drop-down list, select Global to make this MTF template available to the entire domain.
  6. 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.

  7. Click Next to proceed to the targeting page.
  8. Select the server instances or clusters where the MTF template will be accessible.

    Only applications that have been deployed to the selected servers or clusters can use this MTF template.

  9. Click Finish.
  10. 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 MTF template appears in the Concurrent Managed Object Templates table.


Back to Top