Then I will give it a try later today when meeting season is over.

Regards,

Minto

Op 12-9-2013 7:16, Reto Bachmann-Gmür schreef:
> On Wed, Sep 11, 2013 at 6:15 PM, Minto van der Sluis <[email protected]> wrote:
>
>> 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?
>>
> If this works (i.e. the servicemix bundle exports all xerces packages
> needed by jena) this sound like the perfect solution.
>
> Cheers,
> Reto
>


-- 
ir. ing. Minto van der Sluis
Software innovator / renovator
Xup BV

Mobiel: +31 (0) 626 014541

Reply via email to