在 ServiceMix 7.0.0 上安装 Cellar
Installing Cellar on ServiceMix 7.0.0
我在 Karaf ServiceMix 7.0.0 上安装 Cellar 时遇到问题
我遵循了 Cellar documentation Cellar 包的构建。
正在安装 Cellar 功能
karaf@root>feature:repo-add cellar
Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-
cellar/LATEST/xml/features
karaf@root>feature:install cellar
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cellar; type=karaf.feature; version="[4.1.1,4.1.1]"; filter:="(&(osgi.identity=cellar)(type=karaf.feature)(version>=4.1.1)(version<=4.1.1))" [caused by: Unable to resolve cellar/4.1.1: missing requirement [cellar/4.1.1] karaf.cellar.provider [caused by: Unable to resolve cellar-hazelcast/4.1.1: missing requirement [cellar-hazelcast/4.1.1] osgi.identity; osgi.identity=org.apache.karaf.cellar.utils; type=osgi.bundle; version="[4.1.1,4.1.1]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.cellar.utils/4.1.1: missing requirement [org.apache.karaf.cellar.utils/4.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.cellar.core)(version>=4.1.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.apache.karaf.cellar.core/4.1.1: missing requirement [org.apache.karaf.cellar.core/4.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.features)(version>=4.1.0)(!(version>=5.0.0)))"]]]]
我看到很多软件包没有解决,据我所知,这些软件包应该作为功能的一部分安装
我错过了什么?
由于 SMX 7.0.1 基于 Karaf 4.0.x,您必须使用 Cellar 4.0.x(不是 4.1.x)
编辑:
我刚刚将它安装到新下载的 ServiceMix 7.0.1 中。
% sudo su
[sudo] password for bvn13:
co-ultraesb-test-01# mc
co-ultraesb-test-01# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-amd64
co-ultraesb-test-01# cd/opt
zsh: no such file or directory: cd/opt
co-ultraesb-test-01# ./bin/servicemix
Please wait while Apache ServiceMix is starting...
100% [========================================================================]
____ _ __ __ _
/ ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
|____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\
Apache ServiceMix (7.0.1)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'system:shutdown' to shutdown ServiceMix.
karaf@root>feature:repo-add cellar 4.0.4
Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/4.0.4/xml/features
karaf@root>feature:install cellar
karaf@root>
我在 Karaf ServiceMix 7.0.0 上安装 Cellar 时遇到问题
我遵循了 Cellar documentation Cellar 包的构建。
正在安装 Cellar 功能
karaf@root>feature:repo-add cellar
Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-
cellar/LATEST/xml/features
karaf@root>feature:install cellar
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cellar; type=karaf.feature; version="[4.1.1,4.1.1]"; filter:="(&(osgi.identity=cellar)(type=karaf.feature)(version>=4.1.1)(version<=4.1.1))" [caused by: Unable to resolve cellar/4.1.1: missing requirement [cellar/4.1.1] karaf.cellar.provider [caused by: Unable to resolve cellar-hazelcast/4.1.1: missing requirement [cellar-hazelcast/4.1.1] osgi.identity; osgi.identity=org.apache.karaf.cellar.utils; type=osgi.bundle; version="[4.1.1,4.1.1]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.cellar.utils/4.1.1: missing requirement [org.apache.karaf.cellar.utils/4.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.cellar.core)(version>=4.1.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.apache.karaf.cellar.core/4.1.1: missing requirement [org.apache.karaf.cellar.core/4.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.karaf.features)(version>=4.1.0)(!(version>=5.0.0)))"]]]]
我看到很多软件包没有解决,据我所知,这些软件包应该作为功能的一部分安装
我错过了什么?
由于 SMX 7.0.1 基于 Karaf 4.0.x,您必须使用 Cellar 4.0.x(不是 4.1.x)
编辑:
我刚刚将它安装到新下载的 ServiceMix 7.0.1 中。
% sudo su
[sudo] password for bvn13:
co-ultraesb-test-01# mc
co-ultraesb-test-01# echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-amd64
co-ultraesb-test-01# cd/opt
zsh: no such file or directory: cd/opt
co-ultraesb-test-01# ./bin/servicemix
Please wait while Apache ServiceMix is starting...
100% [========================================================================]
____ _ __ __ _
/ ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
|____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\
Apache ServiceMix (7.0.1)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'system:shutdown' to shutdown ServiceMix.
karaf@root>feature:repo-add cellar 4.0.4
Adding feature url mvn:org.apache.karaf.cellar/apache-karaf-cellar/4.0.4/xml/features
karaf@root>feature:install cellar
karaf@root>