Jetty应用程序的JProfiler启动错误找不到libjprofilerti.so
我正在尝试执行 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能正在尝试分析 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
tolinux-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".
创建分析设置时,取消选中 jprofiler 中的 64 位虚拟机选项。这应该可以解决问题
uncheck the 64-bit vm option in jprofiler while creating the profiling settings. this should solve the issue
我也有这个问题。它通过将 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.