Felix Meschberger wrote:
Hi,

On 3/19/07, Tim Moloney <[EMAIL PROTECTED]> wrote:
to jaxb-impl's pom.xml file and verified that it appeared in the
manifest.  I still get the same runtime error message.

ok

Does this mean that reflection doesn't work in OSGi?

No, reflection works (and I also depend in it :-) ).

There might be other problems: For example, jaxb expecting the class
to implement a specific interface or the class not being public.

Re Interface: This is a tricky issue. If the jaxb-impl and your
provider bundle do not use the same interface class instance because
it has been loaded from different class loaders, jaxb-impl will not
accept your class.

I've not worked with class loaders before. How do I know which class loaders are being used? Where can I read more about them?

After all, this is just wild guessing. What I would do in this
situation is to look at the source code of the method, which threw the
exception and try to find out, what makes jaxb this unhappy.

Regards
Felix

I'm not sure that the source for JAXB is available but I'll look.

Thanks for the suggestions.  :)

Tim

Reply via email to