Did you have to make any modifications to your jvm.options config? If so, what were they?
My current deployment is using the same jvm.options configuration in 3.0.0 that I was using in 2.19.2 and am getting the same “org/opensearch/javaagent/bootstrap/AgentPolicy$AnyCanExit” error with Java 21.0.7 openjdk.