Never mind...I figured it out...I just changed my reference to how I was
including the jar files in the applet tags.

Sorry if I wasted anyone's time...

jeff

-----Original Message-----
From: Jeff Davis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 1:12 PM
To: [EMAIL PROTECTED]
Subject: Security exception running applet in coplet

Hi,

Has any ever tried running a Java applet inside of a coplet? When I run the
coplet page directly as a direct HTML link through Cocoon, my applet runs
fine. However, when I run it within a coplet, I get the following error
message on the Browser's Java console:

java.lang.SecurityException: illegal URL redirect
        at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown
Source)
        at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
        at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
        at sun.plugin.cache.JarCache.get(Unknown Source)
        at
sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
        at
sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown
Source)
        at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
        at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
        at sun.misc.URLClassPath+3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getResource(Unknown Source)
        at java.net.URLClassLoader+1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at sun.applet.AppletClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.applet.AppletClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.applet.AppletClassLoader.loadCode(Unknown Source)
        at sun.applet.AppletPanel.createApplet(Unknown Source)
        at sun.plugin.AppletViewer.createApplet(Unknown Source)
        at sun.applet.AppletPanel.runLoader(Unknown Source)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.SecurityException: illegal URL redirect
        at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown
Source)
        at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
        at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
        at sun.plugin.cache.JarCache.get(Unknown Source)
        at
sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
        at
sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown
Source)
        at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
        at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
        at sun.misc.URLClassPath+3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getLoader(Unknown Source)
        at sun.misc.URLClassPath.getResource(Unknown Source)
        at java.net.URLClassLoader+1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at sun.applet.AppletClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.applet.AppletClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.applet.AppletClassLoader.loadCode(Unknown Source)
        at sun.applet.AppletPanel.createApplet(Unknown Source)
        at sun.plugin.AppletViewer.createApplet(Unknown Source)
        at sun.applet.AppletPanel.runLoader(Unknown Source)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Anyone have any ideas? I was planning to use thinlet-based coplets for my
system (www.thinlets.com).

Thanks!

jeff




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to