Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Create global constraints


A constraint defines minimum and maximum numbers of threads allocated to execute requests and the total number of requests that can be queued or executing before WebLogic Server begins rejecting requests.

To create a global constraint:

  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 Work Managers.
  3. Click New.
  4. Select the radio button next to the type of global constraint you want to create and click Next.

    For more information on each constraint type, see Using Work Managers to Optimize Scheduled Work.

  5. Enter the configuration information based upon the type of constraint you are creating.

    For more information on configuring constraints, see:

  6. Click Next.
  7. In the Available Targets list, select server instances or clusters on which you will deploy applications that reference this constraint.
  8. Click Finish.
  9. 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 constraint appears in the Global Work Managers, Request Classes and Constraints table.

After you finish

After you have created a constraint, you must assign it to a Work Manager in order to use it. Each Work Manager can contain only one constraint of each type, but you can share constraints among multiple Work Managers.


Back to Top