7.4. Apache Karaf 上的 Fuse
Apache Karaf 上的 Fuse 有以下已知问题:
- ENTESB-16417 凭证存储默认使用 PBEWithSHA1AndDESede
- OpenJDK 8u292 和 OracleJDK 1.8.0_291 中的安全 API 会返回一个不完整的安全供应商列表,这会导致 Apache Karaf 中的凭证存储失败(因为所需的安全供应商似乎不可用)。导致此问题的底层问题是 https://bugs.openjdk.java.net/browse/JDK-8249906。我们建议您使用更早的 OpenJDK 版本、OpenJDK 8u282 或更高的 OpenJDK 版本 OpenJDK 8u302,它们没有此程序错误。
- Windows 上的 ENTESB-16526 fuse-karaf 在 patch:install 期间无法重启
在 Windows 平台上运行
patch:install
时,在某些情况下,您可能会在patch:install
命令尝试自动重启容器时遇到以下错误:Red Hat Fuse starting up. Press Enter to open the shell now... 100% [========================================================================] Karaf started in 18s. Bundle stats: 235 active, 235 total '.tmpdir' is not recognized as an internal or external command, operable program or batch file. There is a Root instance already running with name ~14 and pid ~13. If you know what you are doing and want to force the run anyway, SET CHECK_ROOT_INSTANCE_RUNNING=false and re run the command.
Red Hat Fuse starting up. Press Enter to open the shell now... 100% [========================================================================] Karaf started in 18s. Bundle stats: 235 active, 235 total '.tmpdir' is not recognized as an internal or external command, operable program or batch file. There is a Root instance already running with name ~14 and pid ~13. If you know what you are doing and want to force the run anyway, SET CHECK_ROOT_INSTANCE_RUNNING=false and re run the command.
Copy to Clipboard Copied! 如果您遇到这个错误,只需手动重启 Karaf 容器。
- 默认情况下,ENTESB-8140 的热部署捆绑包的启动级别是 80
从 Fuse 7.0 GA 发行版本中,在 Apache Karaf 容器中,热部署捆绑包的启动级别是 80。这可能会对热部署捆绑包造成问题,因为有很多系统捆绑包和功能,它们具有相同的启动级别。要临时解决这个问题,并确保热部署捆绑包启动,编辑
etc/org.apache.felix.fileinstall-deploy.cfg
文件并更改felix.fileinstall.start.level
设置,如下所示:felix.fileinstall.start.level = 90
felix.fileinstall.start.level = 90
Copy to Clipboard Copied! - ENTESB-7664 安装框架-安全性功能终止 karaf
必须使用
--no-auto-refresh
选项安装framework-security
OSGi 功能,否则此功能将关闭 Apache Karaf 容器。例如:feature:install -v --no-auto-refresh framework-security
feature:install -v --no-auto-refresh framework-security
Copy to Clipboard Copied!