繁体   English   中英

远程jprofiler与mule集成

[英]remote jprofiler integration with mule

如何将运行在笔记本电脑中的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.cb(ejt:265) at com.jprofiler.frontend.attach.ca(ejt:252) at com.jprofiler.frontend.attach.ca(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)

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

首先,检查jpenable是否与要分析的应用程序的用户相同。 如果使用相同的用户无效,则必须将用于分析的VM参数添加到应用程序的启动命令并重新启动它。

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

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

并按照向导中的步骤操作。

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM