Converting WLDF Watch Rules from WLS 10.3.x to Policy Expressions in WLS 12.2.1.x (Doc ID 2305243.1)

Last updated on SEPTEMBER 13, 2017

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

When migrating to Oracle WebLogic Server 12.2.1, the WebLogic Diagnostics Framework (WLDF) "Watch Rule" from previous releases has changed to "Policy Expression". It is not an easy conversion from watch rules to policy expressions unless very familiar with Java Expression Language (Java EL).

For example, the below watch rule was defined to monitor all datasources under a domain and trigger a notification if its state is anything but Running:

(${ServerRuntime//[weblogic.management.runtime.JDBCDataSourceRuntimeMBean]//State} IN ('Suspended', 'Overloaded', 'Unknown'))

What will be the equivalent of that in 12.2.1?
 

Solution

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