Hi,
I am using
Tomcat 4.1 as the server. i have a simple
java applet HelloWorld.java . have kept the class file and html calling applet in proper loction. am using https.
Problem: the applet is accessible from the same machine(i.e. machine where tomcat is installed) url:https://<DNS>:8443/chat/index.html , where index.html has the applet tag. note: DNS is registered
but when i try to open the url from any other machine, the html page loads but NOT the applet. i cant reaaly find the problem..browser says:Applet not inited. neeed urgent help!!
Below is the message in Java Console:-
load: class HelloWorld.class not found.
java.lang.ClassNotFoundException: HelloWorld.class
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)
Caused by: java.io.IOException: Authentication failure
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
URGENT HELP NEEDED !!