【发布时间】:2018-08-06 08:46:06
【问题描述】:
我们从 Karaf-3 升级到 Karaf-4.0.10 版本以迁移到 Opendaylight 的 Nitrogen 版本。在尝试将标准和应用程序功能(custom-odl)作为引导功能启动时,我们遇到了以下异常。但是,我们可以通过 karaf 控制台手动安装相同的 custom-odl(不是 bootfeature)功能。在 Karaf-3 中,我们能够手动启动以及启动功能。
2018-02-26 14:50:58,266 | ERROR | 69e-e623d6584878 | 6 - org.apache.karaf.features.core - 4.0.10 | BootFeaturesInstaller | Error installing boot features
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.apache.karaf.features.core"; type="osgi.bundle"; version:Version="4.0.10" [id=6] STOPPED [STARTED]
org.apache.karaf.features.cfg(配置文件输入)
featuresBoot= (wrap), (standard), custom-odl
custom-odl 有 100 多个按不同功能分组的捆绑包。
【问题讨论】:
标签: osgi apache-karaf karaf opendaylight