Hi,

Yes, It works in Servicemix4.

The key point of your issue is that you should use servicemix neethi bundle[1] which mark org.apache.axiom* package import as optional. Or you can try to use org.apache.ws.commons.axiom/axiom-impl/1.2.8 which export org.apache.axiom.om.impl.llom.factory but not mark it as PRIVATE package.

Just a quick note

Servicemix provide lots of pre-installed bundle/features which is very convenient for you to use cxf/camel/activemq/JBI inside OSGi container. And Servicemix team make great effort to verify those bundles can work together, this can save you a big time as you needn't do it from scratch.

[1]http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.neethi/2.0.4_3/

Freeman
On 2011-1-11, at 上午11:16, Rice Yeh wrote:

Hi,
Does anyone start cxf-bundle-jaxrs bundle in osgi platform successfully? I have problem to start up this bundle. I find this bundle imports bundle
org.apache.neethi, which in turn replies on a PRIVATE package
org.apache.axiom.om.impl.llom.factory in
org.apache.ws.commons.axiom/axiom-impl/1.2.10 bundle. For cxf-jaxrs, neethi
is really needed?

Rice


--
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to