Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By : Dalton Iwazaki
Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By: Dalton Iwazaki

Overview of this book

Table of Contents (15 chapters)
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 new work manager.

How to do it...

First create the myWebServiceMaxThreads maximum threads constraint and the myWebServiceWM work manager in the Administration Console:

  1. Access the Administration Console with your web browser at http://adminhost.domain...