permaculture playing cards
The moose likes Applets and the fly likes open HTTP connection failed: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark " open HTTP connection failed:" Watch " open HTTP connection failed:" New topic
Author open HTTP connection failed:

Ravikanth Munukutla

Joined: Apr 03, 2009
Posts: 1

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


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$ Source)
at Source)
Caused by: 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$ Source)
at Method)
... 7 more

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403

Did you try it from any alternate jre ? Try reinstalling a latest jre.

Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"
I agree. Here's the link:
subject: open HTTP connection failed:
It's not a secret anymore!