VisualVM 问题 - 连接到远程主机时

发布于 2024-07-10 01:29:51 字数 234 浏览 3 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

泪是无色的血 2024-07-17 01:29:52

我在尝试监控 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

胡大本事 2024-07-17 01:29:52

探查器选项卡仅适用于本地 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文