users@jaxb.java.net

Re: classloaders and jaxb.properties..

From: <Andrew.Ferguson_at_arm.com>
Date: Thu, 13 Nov 2003 14:57:53 +0000

hi,

>Try doing:
> jc = JAXBContext.newInstance( "posb.operations.jaxb.wxml");
>
>instead. I have that working in a JAR via JNLP just fine. The problem
>you
>MIGHT be having is that Thread (ie, your current thread) is not loaded
>from
>the jar, but from rt.jar....? Try just getting rid of the classloader
>portion.

thanks, i've tried this though and it doesn't seem to work either :(

I think the current thread really must be loaded from the current jar since
the class is only in that jar.

>Search the archive for "ClassLoader". I think I posted an HTML document
>that describes exactly this topic.

 thanks for the reply - I've not been able to find this html?

There was this thread

      https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgId=12296

but i couldn't see how JUnit's classloading applied here?

Is the JAXB RI source code available to download?

thanks,
Andrew







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net