将VisualVM窗口连接到Wildfly 16

3

如何将VisualVM连接到Wildfly 10?

我已将jboss-client jar放在以下文件夹中并启动了visual vm: enter image description here

然后我启动了visual vm enter image description here

当我添加jmx连接时,我得到了以下反馈: enter image description here

有人能否建议这里出了什么问题?我没有设置任何身份验证(不确定它将具有哪些身份验证,因为控制台具有admin/pass,但其他地方没有设置密码)。

有人能否建议这里出了什么问题?

(我有多个服务器组,不确定在domain.xml中的哪个位置添加“remoting-connector use-management-endpoint=”true“。我只添加在一个服务器组中。)

1个回答

6
你需要使用"--cp:ad"将JBoss客户端jar包添加到VisualVM类路径中。例如:
jvisualvm --cp:a $WF_HOME/bin/client/jboss-cli-client.jar

然后连接到您的Wildfly管理端口(通常为9990)。

service:jmx:http-remoting-jmx://localhost:9990

点击这里查看有趣的文章:https://nozaki.me/roller/kyle/entry/articles-wildfly-visualvm


嗨,谢谢。关于不同的服务器组有什么区别? - fatherazrael
这是来自 RedHat 的文档 https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3/html/performance_tuning_guide/monitoring_performance - SudoCoder

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接