jconsole 连接 wildfly 10 监控
2024-09-17 20:40:30 212人阅读
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
输入用户名/密码
连接即可。
参考:
2down vote | 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: - On the wildfly server, create management user using add-user.sh.
- Get the jboss-cli-client.jar from the wildly server to your local laptop (from where you are planning to launch jconsole).
- 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 &
- 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 - Provide the username and password created in step #1.
- Connect.
|
jconsole 连接 wildfly 10 监控
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉:
投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。