Server Warning Health State in Admin Console is Shown as OK in WLST

(Doc ID 971971.1)

Last updated on FEBRUARY 11, 2017

Applies to:

Oracle Weblogic Server - Version 10.3 to 10.3.5
Information in this document applies to any platform.

Symptoms

The WLST API call getHealthState() shows server OK instead of Warning even when in the WebLogic Server (WLS) admin console it shows as WARNING. The WLST code to get the health state of Weblogic Server is as below

Cause

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