【发布时间】:2016-07-03 09:33:04
【问题描述】:
我正在尝试使用 Java 8 和 Tomcat 8 安装 Centos 7 64 位的 Jprofiler 代理
root@ads [/opt/jprofiler9]# jpenable 连接到 org.apache.catalina.startup.Bootstrap 启动 [23360] ... 请选择分析模式: GUI 模式(使用 JProfiler GUI 附加)[1, Enter] 离线模式(使用配置文件设置分析设置)[2] 1 请输入分析端口 [59687] 8849
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.a.d.b(ejt:292)
at com.jprofiler.a.d.a(ejt:279)
at com.jprofiler.a.d.a(ejt:249)
at com.jprofiler.cli.EnableApplication.a(ejt:132)
at com.jprofiler.cli.EnableApplication.h(ejt:95)
at com.jprofiler.cli.b.a(ejt:26)
at com.jprofiler.cli.EnableApplication.main(ejt:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
【问题讨论】:
标签: java linux tomcat8 jprofiler