Flight Recorder Throws 'java.io.FileNotFoundException: profile (No such file or directory)' When Using the Default Profile (Doc ID 1911310.1)

Last updated on NOVEMBER 05, 2016

Applies to:

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

Symptoms

When attempting to create a Java SE 7 Flight Recording for WebLogic server with the default profile template, the following error occurs:


The issue can be reproduced at will with the following steps:
1. Start WLS with -XX:+UnlockCommercialFeatures -XX:+FlightRecorder
2. Run Java Diagnostic commands to start the recording:  jcmd <PID> JFR.start duration=10s filename=test.jfr settings=profile

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