Cannot start Java 11 with JMX enabled in Ubuntu
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java, spring-boot, ubuntu
调研方向
使用主机上安装的 Java 11 并启用 JMX 的 Spring Boot 应用重现启动失败。检查 Flatpak 如何暴露 /run/host/usr/lib/jvm/java-11-openjdk-amd64/conf/management/management.properties 及其符号链接 /etc/java-11-openjdk/management/management.properties。文件能够在 Flatpak 内解析,且应用在启用 JMX 的情况下启动,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When trying to start a Spring Boot app with a JRE locally installed in the host system (under /run/host/usr/lib/jvm/java-11-openjdk-amd64), I get the following exception on startup:
Error: Config file not found: /run/host/usr/lib/jvm/java-11-openjdk-amd64/conf/management/management.properties
That file actually exists, but it's a symlink that points to /etc/java-11-openjdk/management/management.properties, which is probably not "visible" to the flatpak (it should be mapped to /run/host/etc/java-11-openjdk/management/management.properties). If I disable JMX, it works instead, but this disables Spring Boot app Lifecycle Management.
Is there a workaround?
- 主要语言
- 没有语言数据
- 星标
- 6
- 派生
- 10
- 平均合并
- 3 小时 13 分钟
- 30 天内合并 PR
- 5
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flathub/org.eclipse.Java 的其他 Issue
-
Eclipse (Flatpak) crashes with SIGABRT: GTK icon fallback aborts when the glycin SVG loader fails 未关闭bug
难度 5/5 一周以上 新手友好度 35/100
flathub/org.eclipse.Java#138 · 3 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
flathub/org.eclipse.Java#100 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
flathub/org.eclipse.Java#56 · 3 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 28/100
flathub/org.eclipse.Java#34 · 3 条评论 · 1 个 reaction ·
-
question
难度 4/5 3-5 天 新手友好度 25/100
flathub/org.eclipse.Java#30 · 10 条评论 ·
查看 flathub/org.eclipse.Java 的全部 Issue
相似的 Issue
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` 未关闭clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
难度 2/5 1-3 小时 新手友好度 88/100
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 92/100
CachyOS/cachyos-aur-derived#754 ·
-
bug draftomen size: S
难度 2/5 1-3 小时 新手友好度 82/100
andreagrandi/draftomen#681 ·
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 75/100
alexgorbatchev/simple-ptt#11 ·