On 07/02/2012 06:44 PM, Freeman Fang wrote:
Hi,

There's a jre.properties.cxf in $KARAF_HOME/etc, you need use this one when you install cxf feature.

Just rename jre.properties.cxf to jre.properties to override the old one.

Freeman
On 2012-7-3, at 上午7:09, ramesh wrote:


I am trying to do a fresh install of CXF 2.6.1 on Karaf 2.2.8 and I get this error. Do I need to install Camel to fix this ?


karaf@root> features:install cxf
Error executing command: Could not start bundle mvn:org.apache.cxf/cxf-api/2.6.1 in feature(s) cxf-core-2.6.1: Unable to resolve module org.apache.cxf.cxf-api [84.0] because it is exposed to package 'javax.activation' from org.apache.servicemix.specs.activation-api-1.1 [91.0] and org.apache.felix.framework [0] via two dependency chains.

Chain 1:
 org.apache.cxf.cxf-api [84.0]
import: (&(package=javax.activation)(version>=0.0.0)(!(version>=2.0.0)))
    |
   export: package=javax.activation
 org.apache.servicemix.specs.activation-api-1.1 [91.0]

Chain 2:
 org.apache.cxf.cxf-api [84.0]
import: (&(package=javax.mail.internet)(version>=1.4.0)(!(version>=2.0.0)))
    |
   export: package=javax.mail.internet; uses:=javax.activation
 javax.mail [74.0]
   import: (package=javax.activation)
    |
   export: package=javax.activation
 org.apache.felix.framework [0]

regards,
Ramesh

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042











Hi Freeman,

Thanks , It is a clean Karaf on production server. So after couple of failed attempts I restarted Karaf and it went well.

regards,
Ramesh

Reply via email to