"No unprofiled JVMs found" 在 AIX 服务器上 - JProfiler

"No unprofiled JVMs found" on AIX Server - JProfiler

我正在尝试 运行 JProfiler,以便我可以将它连接到 AIX 服务器上的 运行ning Apache Tomcat 运行ning。我抓取了 AIX 的 tar 球并将其放在服务器上,然后将其解压缩。当我转到bin目录中的运行 jpenable时,出现以下错误:

No unprofiled JVMs found.

If the target JVM is running as a different user, restart as 
    sudo -u [user] jpenable

我认为这可能只是环境问题,所以为了安全起见,我还尝试 运行 使用命令行标志启动它:

jpenable --pid=5505272 --gui --port=1234

然而,这给了我以下错误:

No JVM with PID 5505272 found that is running as the same user.

If the target JVM is running as a different user, restart as
sudo -u [user] jpenable

我做了一个ps -ef | grep tomcat验证确实是运行ning root,我也是root登录的,但是JProfiler还是找不到运行ning JVM。


来自 JProfiler 手册:This only works with a Java VM of version 1.6 or higher。一旦我看到它,我验证了我的 java 版本和 tomcat 是 运行ning 的版本是 1.8,所以这应该不是问题?

有人知道为什么无法连接吗?

从 JProfiler 10.0 开始,附加功能仅适用于 HotSpot JVM,不适用于 IBM J9 JVM。