On Fri, Mar 27, 2009 at 3:35 PM, Sujoy Bhattacharjee
<[email protected]> wrote:
> Actually I was trying this with two separate bundles. Say I am having one
> dummy bundle where I am keeping some configuration information. The
> configuration entries are such say <Key>|<ClassName> delimited by "I". Now
> the <ClassName> I have mentioned in the configuration entry is a part of
> another bundle. Now from first bundle if I want to access the class by using
> Class.forName("<classmane>") causing   ClassNotFoundException exception.
>
> I also have checked the "MANIFEST.MF" for the first bundle and found that
> the desire package is properly imported.

The Manifest file is only the static description for the jar, there
could still be an issue during runtime. To check the actual imports of
a bundle during runtime, go to /system/console (the apache felix web
management console) look for your bundle and click on it to see the
imported packages.

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to