|Re: Web Start Xerces Issue [message #754125 is a reply to message #734180]
||Mon, 31 October 2011 23:02
| Dylan McReynolds
Registered: June 2011
I think I've found the solution, but it's not pretty.|
First, I think it's possible that the osgi.contextClassLoaderParent parameter is no longer supported in Helios. It was added in 3.2. Have thrown a debug line into my code where I'm setting up my Xerces instance.
No matter what I set the osgi.contextClassLoaderParent to (app, ext, boot, fwk, ccl), I get com.sun.jnlp.JNLPClassLoader from WebStart. When I launch the same app in Eclipse, I get org.eclipse.core.runtime.internal.adaptor.ContextFinder.
I believe this is the source of my problem. THe JNLPClassLoader is loading a version of Xerces that is in conflict with the version that my bundle is configured to run.
I can play a trick and pass a reference to the Eclipse classloader in, and set the context classloader on the thread, but that's pretty ugly:
Am I correct that osgi.contextClassLoaderParent dropped out of Helios?
Powered by FUDForum
. Page generated in 0.02481 seconds