How to Set a Work Manager Shutdown Trigger in WebLogic Server 10.3.4 Using WLST
Last updated on NOVEMBER 05, 2016
Applies to:Oracle Weblogic Server - Version: 10.3.4
Information in this document applies to any platform.
WebLogic Server's Work Managers provide a way to control work and allocated threads. You can set different scheduling guidelines for different applications, depending on your requirements.
There is a default self-tuning Work Manager, but you might want to set up a custom work manager in some circumstances: for example,
- when you want the server to prioritize one application over another
- when a response time goal is required, or
- when a minimum thread constraint is needed to avoid deadlock.
The Work Manager Shutdown Trigger is a tool to help with stuck threads in which will do the following:
- Shut down the Work Manager.
- Move the application to Admin State (not active).
- Change the Server instance health state to failed.
Example of a Shutdown Trigger set on the config.xml for your domain:
Understand that any misconfiguration on the Work Manager can lead to poor performance on the server. Any changes must be done and tested before going to production.
How can one create a WorkManagerShutdownTrigger for WLS 10.3.4 using WLST?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms