users@glassfish.java.net

Re: Problem running standalone Glassfish client as Eclipse plugin

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Feb 2010 04:46:26 PST

Hi Stephan,

unfortunately we could not find a solution for the problem. We tried several approaches (including to set the expected sun.misc.Launcher$AppClassLoader manually as Classloader in Globals), but just ran into other problems afterwards. Consequently we switched back to Glassfish v2 where our client works seemlessly without any hacks as Eclipse Plugin.

I'm afraid we have to stay with Glassfish v2 until they resolve the classloader issues with v3 (see the following bugs https://glassfish.dev.java.net/issues/show_bug.cgi?id=11505 , https://glassfish.dev.java.net/issues/show_bug.cgi?id=11506 ).

We also tried to change the Eclipse default classloader. Can you tell me how to specify which classloader is used for a Eclipse plugin? What was your error message after changing the visibility of the 'findResources' method?

Dominik
[Message sent by forum member 'dmt_' (dominik.morent_at_knime.ch)]

http://forums.java.net/jive/thread.jspa?messageID=384477