| From | Sent On | Attachments |
|---|---|---|
| jai-...@javadesktop.org | May 31, 2007 5:36 pm | |
| jai-...@javadesktop.org | May 31, 2007 5:56 pm | |
| Nidel, Mike | Jun 1, 2007 7:03 am | |
| jai-...@javadesktop.org | Jun 1, 2007 5:01 pm | |
| jai-...@javadesktop.org | Jun 3, 2007 9:11 am | |
| Nidel, Mike | Jun 4, 2007 8:31 am | |
| jai-...@javadesktop.org | Jun 4, 2007 10:52 am | |
| Nidel, Mike | Jun 4, 2007 11:27 am | |
| jai-...@javadesktop.org | Jun 4, 2007 2:10 pm | |
| jai-...@javadesktop.org | Jun 4, 2007 3:15 pm | |
| jai-...@javadesktop.org | Jun 4, 2007 3:58 pm | |
| Brian Burkhalter | Jun 4, 2007 4:05 pm | |
| jai-...@javadesktop.org | Jun 4, 2007 4:13 pm | |
| Nidel, Mike | Jun 5, 2007 6:05 am |
| Subject: | [JAI-IMAGEIO] Re: NoClassDefFoundError: | |
|---|---|---|
| From: | Nidel, Mike (mike...@lmco.com) | |
| Date: | Jun 5, 2007 6:05:23 am | |
| List: | net.java.dev.jai-imageio.interest | |
Is it possible for us to answer the underlying question about classloaders?
We have never seen this problem specifically, because we require our users to install JAI, and give them the option of installing JAI ImageIO tools. We are typically in a non-internet-connected environment and thus aren't able to point to a WebStart extension installer. Therefore if we DID run into such a problem, that solution wouldn't help us.
The problem seems to be that libraries installed in lib/ext have tighter access restrictions than those in the core JRE, from a classloader perspective. This indicates to me that a separate, secured classloader is used for lib/ext, without visibility to the application classloader. What's puzzling to me is that this would have to affect any JAI plugins (e.g. OperationRegistrySpi) that are loaded from the application's classpath (rather than from lib/ext). We don't use this particular behavior so we've never run into a problem.
Obviously classes loaded from the core JRE (e.g. rt.jar) do not have the same security restrictions; otherwise the entire ImageIO framework would be badly broken.
does anyone have any thoughts on how the classloaders are divided? Is it different in WebStart from a normal invocation of the java or javaw commands? Is there a complex classloader hierarchy?
Perhaps there's documentation on the JVM behavior somewhere but I haven't been tenacious enough to track it down.
Mike
-----Original Message----- From: Bria...@Sun.COM [mailto:Bria...@Sun.COM] Sent: Monday, June 04, 2007 7:06 PM To: inte...@jai-imageio.dev.java.net Subject: Re: RE: RE: RE: [JAI-IMAGEIO] Re: NoClassDefFoundError:
Well unless someone comes up with a better idea the most likely near term solution would be for us to get it in gear and provide jai-imageio webstart bundles as well ...
On Mon, 4 Jun 2007, jai-...@javadesktop.org wrote:
So you are using the JAI webstart bundles hosted on java.net?
yup! [Message sent by forum member 'russelleast' (russelleast)]
---------------------------------------------------------------------
To unsubscribe, e-mail: inte...@jai-imageio.dev.java.net For additional commands, e-mail: inte...@jai-imageio.dev.java.net
---------------- Brian Burkhalter Java Media, Imaging, and Graphics Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





