WebLogic Server Ignores defaultrecording=false When Java Flight Recorder (JFR) Enabled (Doc ID 2034510.1)

Last updated on JULY 28, 2015

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.

Symptoms

I have a WebLogic 12c server with HotSpot JDK 7u51 on which I have enabled Java Flight Recorder (JFR), but with the default recording disabled using the following JVM arguments:

What is overriding defaultrecording=false? How can I disable the default JFR recording when using WebLogic? In production, we may wish to enable JFR, but not have the continuous default recording running all the time. That way we can manually create JFR recordings as needed, yet not incur the overhead of the default continuous recording.

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