简体   繁体   English

如何使用Java Mission Control监视远程服务器中的JVM?

[英]How to use Java Mission Control to monitor a JVM in a remote server?

Is it possible to use JMC to monitor a JVM in a remote server? 是否可以使用JMC监视远程服务器中的JVM? If so how do i do it? 如果是这样,我该怎么做? Is there any specific java Flags to be invoked before using that? 在使用它之前是否有任何特定的Java标志要调用? I tried creating a new JVM connection specifying all the details it asks in the wizard. 我尝试创建一个新的JVM连接,以指定它在向导中要求的所有详细信息。 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. 由于需要进行一些配置来激活本地jvm搜索选项,因此我的猜测是我在这里缺少了一些东西。(假设服务器防火墙没有阻止此连接)感谢有人可以帮助您。

另外,为简化隧道传输,您可以将RMI注册表和服务器放在同一端口上,如下所述: http : //hirt.se/blog/?p=289

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM