我已经在我的应用程序JProfiler镜像中捆绑了Docker 12代理。JVM以如下开头:
-agentpath:/deployment/jprofiler12/bin/linux-x64/libjprofilerti.so=port=8849,nowait当我的应用程序启动时,我看到以下错误消息:
#################################################################
JVMSHRC226E Error opening shared class cache file
JVMSHRC336E Port layer error code = -102
JVMSHRC337E Platform error message: Permission denied
JVMSHRC840E Failed to start up the shared cache.
JVMSHRC686I Failed to startup shared class cache. Continue without using it as -Xshareclasses:nonfatal is specified
JProfiler> Protocol version 64
JProfiler> Thread status info workaround enabled.
JProfiler> OpenJ9 JVMTI version 1.1 detected.
JProfiler> Java 11 detected.
JProfiler> Don't wait for frontend to connect.
JProfiler> 64-bit library
JProfiler> Could not locate the config file.
JProfiler> Please specify config=[config filename].
JProfiler> If you are running JProfiler's frontend on a different
JProfiler> machine you have to copy the file jprofiler_config.xml to this
JProfiler> computer. The file is located in $HOME/.jprofiler12 or
JProfiler> in C:\Users\[username]\.jprofiler12.我有几个问题,在启动帮助中找不到文档:https://www.ej-technologies.com/resources/jprofiler/v/12.0/help/doc/main/profiling.html
有没有可以下载示例jprofiler_config.xml文件的位置?任何人都会有一个发送config=config文件名的示例
发布于 2020-12-05 18:55:04
您可以通过调用以下命令从JProfiler图形用户界面导出此类文件
Session->Export Session Settings并在可用会话列表中选择单个会话。
https://stackoverflow.com/questions/65149224
复制相似问题