Detect OutOfMemoryError in Server Logs Using WLDF not Working
(Doc ID 2724663.1)
Last updated on JUNE 20, 2024
Applies to:
Oracle WebLogic Server - Version 12.2.1.3.0 to 12.2.1.3.0 [Release 12c]Information in this document applies to any platform.
Symptoms
Creating a WLDF module to detect OutOfMemoryError string in the server log file does not send the email notification.
The OOME generates the following line in the server log file:
<Error> <HTTP> <BEA-101017> <[ServletContext@xxx[app:ApplicationName module:ModuleName path:null spec-version:x.x]] Root cause of ServletException.
java.lang.OutOfMemoryError: Java heap space
>
Using the following policies, an email notification is successfully received:
log.logMessage.contains("ServletContext")
log.logMessage.contains("OOMTestEAR")
log.logMessage.contains("module ")
log.logMessage.contains("ServletException")
But with one of these policies, no notification is triggered:
log.logMessage.contains("java.lang")
log.logMessage.contains("OutOfMemoryError")
log.logMessage.contains("Java heap space")
Changes
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 |
Changes |
Cause |
Solution |
References |