Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDesigner plugin classloader exception
https://www.eclipse.org/forums/index.php/mv/msg/487924/1060165/#msg_1060165
I have developed a scripted data set using JAVA. This dataset is using jax-ws to receive it's data. The dataset is working fine for me and can be used in our own server solution and also in Designer's preview.
Now in additon I have implemented a native RCP Eclipse plugin for uploading the design file to our server. The final jar is just copied to the Designer's plugin directory. This plugin is also using jax-ws and is also running fine.
But now I am running into a problem. When using preview and plugin at the same time without restarting Designer (e.g. running a preview and after that upload design file or the other way round), I'm running into an exception:
java.lang.IllegalArgumentException: interface com.sun.xml.ws.developer.WSBindingProvider is not visible from class loader
The problem seems to be that both implementations are using the same jar-dependencies (which are delivered twice, with dataset and plugin). But as far as I understood every Eclipse plugin should use its own classloader, so where is the problem? Does anyone has an idea whats to do?
Thank you a lot!
Note: I'm using Birt 4.2.2.
Best regards
Mark
]]>Mark Mescher2013-05-23T11:39:02-00:00Re: Designer plugin classloader exception
https://www.eclipse.org/forums/index.php/mv/msg/487924/1060268/#msg_1060268
Michael Williams2013-05-23T18:18:56-00:00Re: Designer plugin classloader exception
https://www.eclipse.org/forums/index.php/mv/msg/487924/1060303/#msg_1060303
plugins\org.eclipse.birt.report.viewer_4.2.2.v201302041142\birt\scriptlib
Standalone without my additional RCP plugin this works fine.
My RCP-Plugin brings its own jar's with it, all bundled in the plugin.jar.]]>Mark Mescher2013-05-24T05:57:10-00:00Re: Designer plugin classloader exception
https://www.eclipse.org/forums/index.php/mv/msg/487924/1060639/#msg_1060639
Mark Mescher2013-05-27T12:35:51-00:00Re: Designer plugin classloader exception
https://www.eclipse.org/forums/index.php/mv/msg/487924/1061042/#msg_1061042
Michael Williams2013-05-29T16:04:03-00:00