Hi Folks,

Anyone a clue how to solve the following error?

    ...
Caused by: java.lang.ClassCastException:
org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl cannot be cast to
javax.xml.datatype.DatatypeFactory
    at javax.xml.datatype.DatatypeFactory.newInstance(Unknown
Source)[:2.2.0]
    at com.hp.hpl.jena.tdb.store.DateTimeNode.<clinit>(DateTimeNode.java:83)


It appear there are 3 bundles in my environment containing that class:

    karaf@root>osgi:find-class DatatypeFactoryImpl

    Apache ServiceMix :: Bundles :: saaj-impl (145)
   
com/sun/org/apache/xerces/internal/jaxp/datatype/DatatypeFactoryImpl.class

    Apache ServiceMix :: Bundles :: xercesImpl (146)
    org/apache/xerces/jaxp/datatype/DatatypeFactoryImpl.class

    Clerezza Ext - Jena TDB OSGi Bundle (199)
    org/apache/xerces/jaxp/datatype/DatatypeFactoryImpl.class

The strange this is that everything worked well until I upgraded Karaf
(2.3.0 --> 2.3.2) and CXF (2.7.3 --> 2.7.6). Downgrading Karaf again is
not an option since I need a fix in the latest version. Downgrading CXF
again yields the same result.

Is it an option for ext:org.apache.jena.tdb bundle to use and external
xerces bundle (from ServiceMix) instead of embedding xerces inside this
clerezza bundle?

Regards,

Minto


Reply via email to