Tuning the application thread concurrency with custom work managers

In the previous recipe, the default work manager was created to limit the concurrency of all applications deployed in the PROD_Cluster cluster.

In this recipe, a new custom work manager myWebServiceWM will be created, with a maximum thread constraint named myWebServiceMaxThreads, configured with 20, and a capacity constraint of 20 as well.

The myWebServiceWM will be associated with the myWebService.war application so only the concurrency for the requests of this application will be limited to 20 threads per Managed Server.

Getting ready

The work manager will be defined in the Administration Console. The application also must update a descriptor in order to be associated with the ...

Get Oracle WebLogic Server 12c Advanced Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.