Date: Fri, 14 May 1999 14:55:12 -0700 (PDT)
From: Richard Levine <rickyl_24@yahoo.com>
Subject: problems with ssl
To: java-security@java.sun.com
Hi, I am having a problem running a JDK1.2 applet from an apache
webserver compiled with SSL. Of course, I am using the Java Plug-In,
but the javax.net.ssl extension doesn't seem to be available, as
evidenced by the error message below. Where can I get this extension?
How do I make the necessary classes available to the plugin's
classloader?
Thanks in advance,
Rick
CONSOLE OUTPUT:
JAR cache enabled.
java.lang.NoClassDefFoundError:
javax/net/ssl/HandshakeCompletedListener
at
sun.plugin.protocol.jdk12.https.HttpsURLConnection.privBlock(HttpsURLConnection.java:96)
at
sun.plugin.protocol.jdk12.https.HttpsURLConnection$PrivilegedBlockAction.run(HttpsURLConnection.java:169)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.plugin.protocol.jdk12.https.HttpsURLConnection.connect(HttpsURLConnection.java:136)
at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:191)
at sun.net.www.protocol.jar.JarFileFactory$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.net.www.protocol.jar.JarFileFactory.retrieve(JarFileFactory.java:146)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:86)
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:92)
at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:76)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:443)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:427)
at sun.misc.URLClassPath$2.run(URLClassPath.java:250)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:240)
at sun.misc.URLClassPath.getLoader(Compiled Code)
at sun.misc.URLClassPath.getResource(Compiled Code)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:130)
at java.lang.ClassLoader.loadClass(ClassLoader.java:280)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:110)
at java.lang.ClassLoader.loadClass(ClassLoader.java:237)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:363)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:759)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com