首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >远程jprofiler与mule的集成

远程jprofiler与mule的集成
EN

Stack Overflow用户
提问于 2013-11-16 06:23:57
回答 2查看 1.3K关注 0票数 3

如何将我的笔记本电脑上运行的Jprofiler UI集成到远程服务器上运行的mule服务器。我已经在服务器上远程安装了jprofiler,并尝试运行jpenable来连接mule服务器,但它不能。下面是我得到的错误。

Connecting to org.mule.module.reboot.MuleContainerBootstrap start0 [9828] ... Please select the profiling mode: GUI mode (attach with JProfiler GUI) [1, Enter] Offline mode (use config file to set profiling settings) [2] 1 ERROR: Attaching is not supported: Unable to open socket file: target process not responding or HotSpot VM not loaded com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:100) at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63) at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:195) at com.jprofiler.frontend.attach.c.b(ejt:265) at com.jprofiler.frontend.attach.c.a(ejt:252) at com.jprofiler.frontend.attach.c.a(ejt:222) at com.jprofiler.frontend.EnableApplication.a(ejt:118) at com.jprofiler.frontend.EnableApplication.g(ejt:81) at com.jprofiler.frontend.EnableApplication.main(ejt:238) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

EN

回答 2

Stack Overflow用户

发布于 2013-11-16 22:46:09

JVM中的附加机制不是很可靠,有可能导致它失败的情况超出了工具供应商的控制范围。

首先,检查jpenable是否以与您要分析的应用程序相同的用户身份运行。如果使用相同的用户没有效果,则必须将用于分析的VM参数添加到应用程序的启动命令中,然后重新启动应用程序。

您可以通过调用以下命令在JProfiler中获取该参数

会话->集成向导->新建远程集成

并遵循向导中的步骤。

票数 1
EN

Stack Overflow用户

发布于 2014-07-30 01:36:55

将权限更改为/usr/lib/jvm(设置为777)以进行探测

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20011677

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档