如何避免出现“Profiler Agent 警告:无法查找缓存类 org/apache/derby...”之类的消息 当使用 VisualVM 进行分析时?

发布于 2024-08-01 14:06:54 字数 381 浏览 2 评论 0原文

当尝试使用 VisualVM 监视 Java 应用程序时,我无法获取有用的信息,因为我的很多类(但不仅仅是我的)无法检测,显示以下消息:

Profiler Agent 警告:无法查找缓存的类组织/apache/derby/impl/services/locks/ActiveLock

因此,探查器不会显示有关这些类的方法调用的任何信息:-(

这个问题有解决方法吗?

一些详细信息:

  • 操作系统:Linux 64 位(Ubuntu 8.10)
  • Java: sun jdk 1.6.0.14 (64 位)
  • VisualVM: 1.1.1
  • 应用程序: 在 Tomcat 5.5.17 上运行

When trying to monitor a Java application using visualvm I can't obtain useful information, because a lot of my classes (but not only mine) can't be instrumented, displaying the following message:

Profiler Agent Warning: Failed to lookup cached class org/apache/derby/impl/services/locks/ActiveLock

Thus, the profiler doesn't show any information about the method invocation to those classes :-(

Is there any workaround for this problem?

Some details:

  • OS: Linux 64 bit (Ubuntu 8.10)
  • Java: sun jdk 1.6.0.14 (64 bit)
  • VisualVM: 1.1.1
  • Application: running on top of Tomcat 5.5.17

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

悲凉≈ 2024-08-08 14:06:54

此问题应在 VisualVM 1.2.2 中得到修复。 有关更多详细信息,请参阅问题#345

This problem should be fixed in VisualVM 1.2.2. For more details see issue #345.

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