My Oracle Support Banner

Detect OutOfMemoryError in Server Logs Using WLDF not Working (Doc ID 2724663.1)

Last updated on MAY 01, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.