jprofiler监控Tomcat,连接时出现错误提示:
The JVM might have terminated unexpectedly.
If the JVM has crashed,please try the following strategies:
* Reduce the -Xmx value of the profiled application
* Change your profiling settings(e.g. from dynamic instrumentation to sampling)
I tried for a long time not depriving the line,
Later, it found a close look at Terminal prompt "Invalid license key".
JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 3175

在尝试使用jProfiler监控远程Linux上的Tomcat时遇到错误提示'Invalid license key. Aborting.',通过查找终端提示发现是许可证密钥问题。解决方案包括:将Windows的`config.xml`中的许可证密钥复制到Linux对应配置文件,修改TOMCAT启动文件`catalina.sh`加入jProfiler相关参数,并重启Tomcat,最后在Windows客户端成功连接。
最低0.47元/天 解锁文章
2408

被折叠的 条评论
为什么被折叠?



