1)我在linux机器上远程运行我的服务器程序。
JProfiler> Protocol version 41
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 64-bit library
JProfiler> Listening on port: 8849.
JProfiler> Instrumenting native methods.
JProfiler> Can retransform classes.
JProfiler> Can retransform any class.
JProfiler> Native library initialized
JProfiler> VM initialized
JProfiler> Waiting for a connection from the JProfiler GUI ...2)然后,我尝试从本地windows计算机连接我的分析器GUI。我从JProfiler生成的服务器获取config.xml,并通过图形用户界面导入它。当我尝试连接时,我得到一个“连接状态”永远在进行中。
我能够telnet到Linux机器的特定端口8849。
有趣的是,当我终止Linux机器上的服务器时,GUI上的“连接状态”对话框也被终止。它显示了这条消息。“使用了本机库的旧版本或另一个应用程序正在侦听端口8849。请检查您的PATH环境变量和端口配置”。
发布于 2014-10-11 05:44:09
我发现了我的问题。我的客户端是8.07版,而我的服务器端是8.10版。在我升级客户端之后,一切都正常了。
https://stackoverflow.com/questions/26307864
复制相似问题