When attempting to configure a watch Rule Expression Invalid message appears on screen
(Doc ID 1610122.1)
Last updated on JUNE 10, 2022
Applies to:
Oracle WebLogic Server - Version 10.3 and laterInformation in this document applies to any platform.
Symptoms
Whenever a watch rule is created on WLDF, if the threshold value overpasses 2GB transformed to bytes (2147483648), the following error appears on both console and log file:
On Screen you will see:
On Log:
To replicate it, log into Weblogic Server Admin console and go to:
- Diagnostics Modules > Created Module > Configuration > Watches and Notifications > Watches
In this case it'll be replicated by creating a watch rule for heap current size. Say that I want to monitor whenever the heap goes above 2 GB > 2048 MB > 2147483648 bytes
- On watches, click on "New"
Name: MyWatch
Watch Type: Collected Metrics
- Click on Next
- On current Watch Rule Click on Edit
- Then Enter the following expression:
(${ServerRuntime//[weblogic.management.runtime.JVMRuntimeMBean]com.bea:Name=AdminServer,ServerRuntime=AdminServer,Type=JVMRuntime//HeapFreeCurrent} < 2147483648)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |