用和目标进程一致的jdk来attach。不要用32 bit的来attach 64 bit的jdk。 windows下建议用java -jar arthas-boot.jar 不要用32 bit的来attach 64 bit的jdk ?能具体些吗,我是在不懂这句话含义,执行java -jar arthas-boot.jar命令是64位 Collaborator ...
运行Arthas的jdk版本必须和要attach的java进程的jdk版本一致,不然就会抛异常 [ERROR] Start arthas failed, exception stack trace: com.sun.tools.attach.AttachNotSupportedException: Unable to attach to64-bit process at sun.tools.attach.WindowsVirtualMachine.openProcess(Native Method) at sun.tools.attach.Win...
你的环境是不是32位的呀
exception stack trace: 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:106)
[1]: 1 hawkbit-update-server.jar 1 [INFO] arthas home: /root/.arthas/lib/3.7.1/arthas [INFO] Try to attach process 1 Picked up JAVA_TOOL_OPTIONS: Error: Unable to initialize main class com.taobao.arthas.core.Arthas Caused by: java.lang.NoClassDefFoundError: com/sun/tools/attach/Agent...
arthas-all-3.0.0-RC
[ERROR] Unable to download arthas from remote server, please download the full package according to wiki: https://github.com/alibaba/arthas 1. 2. 3. 4. 5. 6. 7. 8. 当使用快速安装方式在线上环境进行连接Java服务的时候,很有可能因为线上环境无外部网络访问权限,导致Arthas无法获取 arthas-core ...
然后在容器里直接执行jps是没有结果的,复制进程1的/proc/1/root/tmp/hsperfdata_root/到临时容器的/...
然后在容器里直接执行jps是没有结果的,复制进程1的/proc/1/root/tmp/hsperfdata_root/到临时容器的/...
[ERROR] Unable to download arthas from remote server, please download the full package according to wiki: https://github.com/alibaba/arthas 当使用快速安装方式在线上环境进行连接Java服务的时候,很有可能因为线上环境无外部网络访问权限,导致Arthas无法获取 arthas-core 等jar包,无法运行。