gpt4 book ai didi

java - 无法从 Weblogic Server 10.3.6 生成 JFR 报告

转载 作者:行者123 更新时间:2023-11-29 05:10:54 25 4
gpt4 key购买 nike

我正在运行 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.

从 Mission control 客户端连接到服务器之前对我有用,但我猜这是 WLS 的旧版本。谁能帮我找出问题所在?

最佳答案

看起来您正在使用 JRockit JVM 运行 WLS?在这种情况下,您需要运行 JRockit Mission Control (jrmc) 而不是 Java Mission Control (jmc)-XX:+UnlockCommercialFeatures 和 -XX:+FlightRecorder 不需要,对于 JRockit 也不存在。

关于java - 无法从 Weblogic Server 10.3.6 生成 JFR 报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28579905/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com