apache karaf客户端在尝试使用功能时获取被拒绝的Bundle安装:install

时间:2017-02-24 12:36:24

标签: apache-karaf

我正在尝试使用Apache Karaf在我的测试和生产应用程序环境中首次执行此操作。

我昨天进行了一次产品推广,在继续之前我想检查测试环境中的步骤。

我执行的步骤:

service karaf-service stop 
repo-remove mvn:xxx.xxxxx.xxx/xxx/1.13-SNAPSHOT/xml/features
repo-remove mvn:xxx.xxx.xxx/yyy/1.13-SNAPSHOT/xml/features
repo-add mvn:xx.xxxx.xxx/xxx/1.14-SNAPSHOT/xml/features
repo-add mvn:xx.xxxx.xxx/yyy/1.14-SNAPSHOT/xml/features

repos已成功添加/删除

下, 我运行命令:

karaf@root()> feature:install -v xxx 
Installing feature    xxx1.14-SNAPSHOT 
Installing feature activemq-camel 5.10.0 
Installing    feature cxf-core 3.0.1 
Installing feature camel-core 2.14.0    
Installing feature camel-jms 2.14.0 
Installing feature    camel-blueprint 2.14.0 
Installing feature camel-mail 2.14.0    
Installing feature camel-servlet 2.14.0 
Installing feature camel-cxf 2.14.0 
Installing feature camel-jaxb 2.14.0 
Installing feature camel-jackson 2.14.0 
Installing bundle    mvn:com.google.guava/guava/17.0 
Installing bundle    mvn:commons-lang/commons-lang/2.6 
Installing bundle    mvn:com.fasterxml.jackson.datatype/jackson-datatype-joda/2.4.1    
Installing bundle mvn:joda-time/joda-time/2.2    
**Error executing command: Bundle installation rejected by hook.**
karaf@root()> feature:install -v yyy
Installing feature yyy 1.14-SNAPSHOT
Installing feature camel-core 2.14.0
Installing feature camel-blueprint 2.14.0
Installing feature camel-cxf 2.14.0
Installing feature camel-jaxb 2.14.0
Installing feature camel-jdbc 2.14.0
Installing feature camel-servlet 2.14.0
Installing feature camel-jackson 2.14.0
Installing bundle wrap:mvn:com.oracle/ojdbc6/11.2.0.3
Installing bundle mvn:com.google.guava/guava/17.0
Installing bundle mvn:commons-lang/commons-lang/2.6
**Error executing command: Bundle installation rejected by hook.**

尝试做所有事情..检查了所有日志..但是没有线索是什么,哪里出错了以及如何解决它?

任何有关这方面的帮助都会非常明显

感谢

0 个答案:

没有答案