Jconsole无法连接 [英] Jconsole cannot connect

查看:137
本文介绍了Jconsole无法连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VNC连接到服务器。我能够VNC进入服务器,并打开Jconsole,但无论是否包含PID或尝试使用GUI连接,都无法连接到我的进程。奇怪的是,GUI中显示了所有进程。见下文。

I am using VNC to connect to a server. I am able to VNC into the server, and open Jconsole, but cannot get it to connect to my process whether I include the PID or try connecting using the GUI. The weird thing is all the processes show up in the GUI. See below.

我尝试连接时得到这个:

I get this when I try connecting:

后跟

我需要做些什么为了让Jconsole通过VNC在Linux服务器上本地工作?

Is there something I need to do in order to get Jconsole working locally on a Linux server over VNC?

推荐答案

发现修复此处:您需要传递给VM:

Fix found here: You need to pass to the VM:

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false

-
编辑 - 修正注释中提到的 = fals 错误。

这篇关于Jconsole无法连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆