Cryostat 3.0 usage issues #595
-
Beta Was this translation helpful? Give feedback.
Answered by
andrewazores
Aug 22, 2024
Replies: 2 comments 26 replies
-
actually I see some warning but no clue what is the reason or how to check for details ... |
Beta Was this translation helpful? Give feedback.
25 replies
-
Looking at cryostat logs, I see few errors like below, my application does not have cryostat agents - I though it is used only for discovery - does the agent is required to actually start recording ?
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/openjdk/jmc/blob/4c9d9e47bcf13d6c12ddfcdeddb2e90dbe3b691b/core/org.openjdk.jmc.rjmx.common/src/main/java/org/openjdk/jmc/rjmx/common/services/jfr/internal/FlightRecorderServiceFactory.java#L44
https://github.com/openjdk/jmc/blob/4c9d9e47bcf13d6c12ddfcdeddb2e90dbe3b691b/core/org.openjdk.jmc.rjmx.common/src/main/java/org/openjdk/jmc/rjmx/common/services/jfr/internal/FlightRecorderCommunicationHelperV2.java#L103
If the check in the second link fails then it will indeed fall back to trying to use V1, which is incorrect and would lead to the
com.sun.management.MissionControl
class loading (which will always fail on a modern JDK version - there is no module containing this cl…