Hi,
I have embedded an
applet (jar file)in a
jsp and deployed as a web application in a server located in the US.
Now when I am trying to access the web page from india, it is giving the following error. Some times the
applet is loading fine,but some times not.Please help me. Thanks in advance.
FYI. the same is working fine in local network.
Applet code:
<applet codebase="." code="ij.ImageJApplet.class"
width=550 height=350 security=all-permissions
archive=ij.jar">
</applet>
Exception:
java.lang.ClassNotFoundException: ij.ImageJApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more