我正在运行 Weblogic Server 10.3.6 并尝试使用 Java Mission Control 获取 JFR 报告。服务器存在于我的 Linux VM 中,我正在尝试使用 Mission Control 客户端从我的 Windows 机器连接到该进程。在尝试连接时,我遇到以下错误:
java.lang.RuntimeException: java.lang.UnsupportedOperationException: JRockit is no longer supported. Use a 4.x version of Mission Control when connecting to a JRockit.
我认为这可能有助于我在启动 Weblogic 服务器之前提供以下启动参数:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-XX:+UnlockCommercialFeatures
-XX:+FlightRecorder
但这并没有帮助,因为这家初创公司没有提到:
Unknown option or illegal argument: -XX:+UnlockCommercialFeatures.
Please check for incorrect spelling or review documentation of startup options.
从任务控制客户端连接到服务器之前对我有用,但我猜这是 WLS 的旧版本。有人可以帮我找出问题所在吗?