jconsole远程连接jetty

1、jetty配置

start.ini中加入如下配置

--exec
OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus,annotations         #jmx必须有
-Djava.rmi.server.hostname=10.128.225.169    #替换服务器ip
-Dcom.sun.management.jmxremote.port=8900   #jmx端口
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
重启jetty

2、jconsole连接

本地启动jconsole:

jconsole

相关文章:

  • 2022-12-23
  • 2021-07-25
  • 2021-07-30
  • 2021-12-07
  • 2021-09-17
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2022-01-06
  • 2021-05-25
  • 2021-09-17
  • 2021-07-08
  • 2021-08-16
  • 2022-02-13
相关资源
相似解决方案