Hello...In the past, I had no issues running my application through Anypoint Studio but after application updates, i'm getting the following error when trying to run my application. I'm still using the same source code as before.
Launching a JVM...
Error: To use 'FlightRecorder', first unlock using -XX:+UnlockCommercialFeatures.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
JVM exited while loading the application.
Automatic JVM Restarts disabled. Shutting down.
<-- Wrapper Stopped
I've looked for where FlightRecorder could be enabled and haven't found anything stating that it is.
I've found one location in wrapper.conf buried within the AnypointStudio Application Package contents, but it specifies that the FlightRecorder is disabled (below). Where else would FlightRecorder be enabled?
# While this may print a message that the option is deprecated, the message actually refers to the option to enable JFR.
# This option is acutally disabling it. Ref: https://bugs.openjdk.org/browse/JDK-8225312
wrapper.java.additional.13=-XX:-FlightRecorder
Hi, sorry for the inconvenience. If you don't receive a response here, we recommend reaching out to our support team for further assistance. You can do so by visiting https://help.salesforce.com/s/articleView?id=000393090&language=en_US&type=1