如何使用Java Mission Control监视远程服务器中的JVM? [英] How to use Java Mission Control to monitor a JVM in a remote server?

查看:829
本文介绍了如何使用Java Mission Control监视远程服务器中的JVM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 JMC监控远程服务器中的JVM?如果是这样,我该怎么办?在使用之前是否有任何特定的Java标志被调用?我尝试创建一个新的JVM连接,指定它在向导中提出的所有详细信息。但是,当我测试连接时,它无法连接到该服务器。由于有一些配置要激活本地jvm搜索选项,我的猜测是我在这里遗漏了一些东西。(假设服务器防火墙没有阻止这个连接)感谢是否有人可以帮助解决这个问题。

Is it possible to use JMC to monitor a JVM in a remote server? If so how do i do it? Is there any specific java Flags to be invoked before using that? I tried creating a new JVM connection specifying all the details it asks in the wizard. But when i test the connection it cannot connect to that server. Since there were some configurations to be done to activate local jvm searching option, my guess is that i'm missing something here.(assuming that the server firewall is not blocking this connection) Appreciate if anyone could help with this.

推荐答案

此外,为了更容易隧道,您可以在同一端口上安装RMI注册表和服务器,如下所述: http://hirt.se/blog/?p=289

Also, for easier tunneling, you can have the RMI registry and server on the same port, as described here: http://hirt.se/blog/?p=289.

这篇关于如何使用Java Mission Control监视远程服务器中的JVM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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