Hi all,

I've created an OSGI project that uses UIMA-core.jar.  UIMA makes use of 
Class.forName("some.class") to dynamically create classes so i have to put the 
uima-core.jar inside the OSGI bundle so it can resolve the classname without 
getting into an import/export loop.  I also modify the bundle-classpath to 
point to the uima-jar inside the bundle.  If i manually add the import for 
org.xml.sax.helpers.DefaultHandler into the manifest, it will work until it 
gets to the next JRE class that it fails to resolve.

The issue is classes that UIMA-core.jar references such as 
org.xml.sax.helpers.DefaultHandler are not being resolved.  These classes come 
with the JRE and i assumed they would already be on the classpath.

This used to work with Servicemix 4.3   but it does not work on 4.4.

Any ideas?  Can we no longer embed jars inside an OSGI bundle?

Thanks.
                                          

Reply via email to