users@glassfish.java.net

Re: CORBA.NO_PERMISSION when using GUI in ACC

From: <glassfish_at_javadesktop.org>
Date: Fri, 20 Apr 2007 14:15:10 PDT

The NO_PERMISSION problem should be solved with today's check-ins to solve Issue 2856.

Tonight's nightly build and next week's planned promoted build should contain the fixes.

The problem was indeed related to the class loader for the event dispatcher thread. That thread's loader is initialized correctly and automatically during an appclient launch. Up until a relatively recent fix for a different issue, the ACC was started on the event dispatcher thread during a Java Web Start launch. The issue correctly pointed out that this was a difference in behavior from an appclient launch. So the changes in that other fix left the ACC initialization on the main thread. The oversight was that the context class loader for the event dispatcher thread used to be adjusted as part of the ACC set-up when the ACC ran on the event dispatcher thread. Once the ACC ran on the main thread instead, the EDT's class loader was never set appropriately to the ACC's class loader.
[Message sent by forum member 'tjquinn' (tjquinn)]

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