VisualVM 问题 - 连接到远程主机时
我是 Java 开发新手,第一次使用 VisualVm。 我在从 VisualVm 界面连接远程主机时遇到一些问题。
我在远程主机上运行 JDK 1.6,并在同一主机上启动 jstatd 服务器。 当我从本地计算机中运行的 VisualVm 界面连接远程主机时,它已连接,但界面中缺少“探查器”选项卡和“线程”选项卡。 可能是什么问题。
我的操作系统是SUSE Linux。
谢谢,
I am new to Java Development and using the VisualVm for the first time. I am facing some problem in Connecting a Remote Host from the VisualVm interface.
I have JDK 1.6 running in the remote host and also started jstatd server on the same. When I am connecting the remote host from VisualVm interface running in local machine, its getting connected but the Profiler tab and Threads tab are missing from the interface. What can likely be the problem.
My OS is SUSE Linux.
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在尝试监控 Jboss 4.0.2 时遇到了同样的问题,因为该版本有自己的 mbean 服务器,这是您的情况吗?
无论如何,请确保您使用的是 jdk 1.6.0u7 或更高版本,否则您必须关闭类共享才能让 VisualVM 工作(-Xshare:off)
我希望这会有所帮助,也许您可以提供有关其性质的更多详细信息您尝试分析的应用程序/您正在使用的 JVM
I had the same issue trying to monitor Jboss 4.0.2, since that version has its own mbean server , is this your case ?
Anyway, make sure you are using jdk 1.6.0u7 or later, otherwise you have to turn-off class sharing in order for visualvm to work (-Xshare:off)
I hope this helps, maybe you can give more details on the nature of application your trying to profile/JVM you are using
探查器选项卡仅适用于本地 JVM。
我不确定为什么不显示线程选项卡。 对我来说确实如此。
我读到 Netbeans 具有远程分析支持。 但我个人从未使用过它。
The profiler tab is only available for local JVM's.
I'm not sure why the thread tab isn't displayed. It does for me.
I've read that Netbeans has remote profiling support. But I've never personally used it.