jconsole 连接 wildfly 10 监控

1,远程wildfly服务器:

  访问:http://211.100.75.242:9990

按照提示添加用户,重启后可以登录进入。成功。

2,省事做法。本地解压wildfly服务器,进入wildfly-home/bin, 执行jconsole.bat 或者 jconsole.sh。

  选择 "Remote Process". Provide the following URL:

service:jmx:http-remoting-jmx://WildFly_Host:JMX_Port

比如: service:jmx:http-remoting-jmx://211.100.75.242:9990

输入用户名/密码

连接即可。

参考:

 

As far as I know, the JMX service on wildly is accessible on port 9990. From your mail, it seems that it's running at 10990 for you.

To access WildFly over JMX remotely through jconsole following are the steps you need to follow:

  1. On the wildfly server, create management user using add-user.sh.
  2. Get the jboss-cli-client.jar from the wildly server to your local laptop (from where you are planning to launch jconsole).
  3. Invoke the following from your local laptop to start jconsole:

$JAVA_HOME/bin/jconsole -J-Djava.class.path=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/jconsole.jar:/jboss-client.jar &

  1. On the jconsole pop up window which comes up on your laptop, select "Remote Process". Provide the following URL:

service:jmx:http-remoting-jmx://WildFly_Host:JMX_Port

For example, it could be : service:jmx:http-remoting-jmx://1.2.3.4:9990

  1. Provide the username and password created in step #1.
  2. Connect.
posted @   Bigben  阅读(691)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2016-04-27 JPA事务总结
点击右上角即可分享
微信分享提示