Dave, On Saturday 26 April 2008, Dave Brosius wrote: > I am trying to deploy cxf in an osgi environment. It seems that the > class javax.xml.namespace.QName is conflicting with the platform > classpath (JDK). It would be useful if the manifests of the cxf and > stax-api jars could be annotated with a minimum version so that cxf > pulls the classes from stax, rather than from the jdk.
What version of CXF? With 2.0.5 (and updated in 2.0.6 and 2.1), we added OSGi manifest to the big cxf bundle jar and servicemix is working on using that bundle directly. The QName error is interesting. We stopped shipping stax-api.jar with cxf a little while ago (2.0.4 maybe) due to the qname class in it. Instead, we use the geronimo-stax-api_1.0_spec-1.0.1.jar which doesn't have the QName class in it. That said, it looks like the xml-apis jar that we ship also includes it. :-( However, I think the entire xml-apis jar should already be in the JDK. Thus, you can probably remove it. -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
