8 WebLogic Server Work Managers

WebLogic Server prioritizes work and allocates threads based on an execution model that takes into account administrator-defined parameters and actual run-time performance and throughput.

Administrators can configure a set of scheduling guidelines and associate them with one or more applications, or with particular application components. For example, you can associate one set of scheduling guidelines for one application, and another set of guidelines for other applications. At run time, WebLogic Server uses these guidelines to assign pending work and enqueued requests to execution threads.

To manage work in your applications, you define one or more of the following Work Manager components:

You can use any of these Work Manager components to control the performance of your application by referencing the name of the component in the application deployment descriptor. In addition, you may define a Work Manager that encapsulates all of the above components and reference the name of the Work Manager in your application's deployment descriptor. You can define multiple Work Managers—the appropriate number depends on how many distinct demand profiles exist across the applications you host on WebLogic Server. You can configure Work Managers at the domain level, application level, and module level in one of the following configuration files, or by using the WebLogic Server Administration Console. For more information, see "Using Work Managers to Optimize Scheduled Work" in Administering Server Environments for Oracle WebLogic Server.

This chapter describes the tasks you can perform to monitor Work Managers.

This chapter includes the following sections:

Monitor Work Managers

To monitor Work Manager status:

  1. From the WebLogic Domain dropdown menu, select Environment, then select Work Managers.

    The Work Managers table displays information about the Work Managers that have been configured in the current domain, such as:

    • Work Manager Name

    • Type

    • Targets

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  2. In the table, select the name of the Work Manager for which you want to view configuration information.

Monitor server Work Managers

To monitor the status of Work Managers in a specific server instance:

  1. From the WebLogic Domain dropdown menu, select Environment, then select Servers.

    The Servers table displays information about the Administration Server and any Managed Servers that have been configured in the current domain.

  2. In the Servers table, select the name of the server instance you want to monitor.

  3. From the WebLogic Server dropdown menu, select Other Services, then select Work Manager.

    The Work Managers table displays information about the Work Managers that have been configured in the current server, such as:

    • Work Manager Name

    • Type

    • Targets

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. In the table, select the name of the Work Manager for which you want to view configuration information.

Monitor cluster Work Managers

To monitor the status of Work Managers in a specific cluster:

  1. From the WebLogic Domain dropdown menu, select Environment, then select Clusters.

    The Clusters table displays information about the clusters that have been configured in the current domain.

  2. In the Clusters table, select the name of the cluster you want to monitor.

  3. From the WebLogic Cluster dropdown menu, select Other Services, then select Work Managers.

    The Work Managers table displays information about the Work Managers that have been configured in the current cluster, such as:

    • Work Manager Name

    • Type

    • Targets

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. In the table, select the name of the Work Manager for which you want to view configuration information.