On Tuesday 11 January 2011 3:04:21 am Sergey Beryozkin wrote: > Hi > > On Tue, Jan 11, 2011 at 3:16 AM, Rice Yeh <[email protected]> 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? > > No, it is not needed. wsdl4j, neethi are two dependencies which need to be > made redundant. > I've done some initial work on dropping the wsdl4j one, it's nearly > there...JAX-WS and JAX-RS modules rely on the common runtime which has > 'accumulated' some of the class references which are needed by WS-related > modules only over the years, but this can be easily explained given that > CXF has been a leading SOAP stack for a while. > > By the way, not sure why the (neethi) axiom dependency prevents the bundle > form being started, in Talend SF I specifically disabled axiom bundles and > moved them to the atom feature which is not installed by default and all > the jax-rs demos are working.
Both Talend Services Framework and ServiceMix use the ServiceMix wrapper bundle of Neethi that corrects the Axiom dependencies in the OSGi manifest. That explains that. :-) -- Daniel Kulp [email protected] http://dankulp.com/blog
