Jetty应用程序的JProfiler启动错误找不到libjprofilerti.so

发布于 2024-12-10 18:41:40 字数 387 浏览 5 评论 0原文

我正在尝试执行 Jetty 的远程配置文件会话。 我已经下载并解压了 jprofiler_linux_7_0.tar.gz 我运行 jpintegrate 并生成了 start_jetty_jprofiler.sh 研究了一下并剪掉了: -agentpath:/RAID10/home/mbl/profiler/jprofiler7/bin/linux-x86/libjprofilerti.so=port=8849,nowait

,并将其添加到我实际的jetty启动脚本中。

运行修改后的脚本,我收到以下错误消息: 无法在绝对路径中找到代理库:/RAID10/home/mbl/profiler/jprofiler7/bin/linux-x86/libjprofilerti.so

我想知道哪里出错了。 谢谢

I am trying to perform a remote profile session of Jetty.
I have downloaded, untar'd jprofiler_linux_7_0.tar.gz
I ran jpintegrate and produced the start_jetty_jprofiler.sh
Looked into that and snipped out the:
-agentpath:/RAID10/home/mbl/profiler/jprofiler7/bin/linux-x86/libjprofilerti.so=port=8849,nowait

and added that to my actual jetty startup script.

ran that modified script and I get the following error message:
Could not find agent library in absolute path: /RAID10/home/mbl/profiler/jprofiler7/bin/linux-x86/libjprofilerti.so

I'm wondering where I went wrong.
Thanks

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

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

发布评论

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

评论(3

蓝天 2024-12-17 18:41:40

您可能正在尝试分析 64 位 VM。在这种情况下,将 linux-x86 更改为 linux-x64

这种情况下的错误消息确实非常具有误导性。 JVM 应该说类似“64 位 JVM 无法加载 32 位库”之类的内容。

Probably you're trying to profile a 64-bit VM. In that case change linux-x86 to linux-x64.

The error message in that case is indeed very misleading. The JVM should rather say something like "A 64-bit JVM cannot load a 32-bit library".

会傲 2024-12-17 18:41:40

创建分析设置时,取消选中 jprofiler 中的 64 位虚拟机选项。这应该可以解决问题

uncheck the 64-bit vm option in jprofiler while creating the profiling settings. this should solve the issue

葬シ愛 2024-12-17 18:41:40

我也有这个问题。它通过将 linux-x64/ 复制到 /jprofiler7/bin 目录中的 linux-x86/ 来解决。当然,请确保先备份linux-x86。

I had this problem too. It resolved by copy linux-x64/ to linux-x86/ in the /jprofiler7/bin dir. Of course, please make sure to backup the linux-x86 first.

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