首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Docker/Kubernetes中的JProfiler启动错误

Docker/Kubernetes中的JProfiler启动错误
EN

Stack Overflow用户
提问于 2020-12-05 02:58:41
回答 1查看 262关注 0票数 1

我已经在我的应用程序JProfiler镜像中捆绑了Docker 12代理。JVM以如下开头:

代码语言:javascript
复制
-agentpath:/deployment/jprofiler12/bin/linux-x64/libjprofilerti.so=port=8849,nowait

当我的应用程序启动时,我看到以下错误消息:

代码语言:javascript
复制
#################################################################
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文件名的示例

EN

回答 1

Stack Overflow用户

发布于 2020-12-05 18:55:04

您可以通过调用以下命令从JProfiler图形用户界面导出此类文件

代码语言:javascript
复制
Session->Export Session Settings

并在可用会话列表中选择单个会话。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65149224

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档