What we're looking for is a way that a bundle can function while embedding
bundles that require Xerces *without* making any changes to the assembly. As
an example, here is the first few lines of the stack trace we get from a
bundle trying to use a embedded dependency that requires Xerces. 

java.lang.VerifyError: (class:
org/apache/xerces/impl/dv/xs/AbstractDateTimeDV, method: <clinit> signature:
()V) Bad type in putfield/putstatic
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.<clinit>(Unknown 
Source)
        at
org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.createBuiltInTypes(Unknown
Source)
        at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.<clinit>(Unknown
Source)

The dependency in question is taverna-robundle, which requires Jena (which
in term uses Xerces). We are setting transitive to true in the
maven-bundle-plugin configuration so that all of this is embedded in a
single bundle. 

Any ideas? 



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Application-using-Karaf-problems-with-packages-not-being-exported-by-default-configuration-tp4047592p4047721.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to