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

这一生的挚爱 提交于 2019-12-10 09:24:37

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/27779056/how-to-use-java-mission-control-to-monitor-a-jvm-in-a-remote-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!