By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

Running Java Applet Under IE6 from .NET User Control

P: n/a
I am trying to run a Java Applet on my ascx page and am getting an IO
exception when IE6 tries to load the applet. It seems a lot of others are
getting the same problem but a search of the web did not turn up any sort of
solution. I have tried most of the suggestions but none of them seem to have
helped with the problem.

My error is below and the most significant part of it is the HTTP connection
failure.

load: class apXPDropDown.class not found.
java.lang.ClassNotFoundException: apXPDropDown.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: open HTTP connection failed.
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

Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
As far as Java is concerned it looks it shouldn't be an ASP.NET problem...
Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
permission or IE setting) or a Java forum. The applet is perhaps in a
directory where you don't have access (which is likely if you use a
directory that is not allowed access through the net as you have only ascx
files in it but you put also the applet file in it).

Patrice
--

"Larry Martin" <La*********@discussions.microsoft.com> a écrit dans le
message de news:09**********************************@microsof t.com...
I am trying to run a Java Applet on my ascx page and am getting an IO
exception when IE6 tries to load the applet. It seems a lot of others are
getting the same problem but a search of the web did not turn up any sort of solution. I have tried most of the suggestions but none of them seem to have helped with the problem.

My error is below and the most significant part of it is the HTTP connection failure.

load: class apXPDropDown.class not found.
java.lang.ClassNotFoundException: apXPDropDown.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: open HTTP connection failed.
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

Jul 21 '05 #2

P: n/a
Patrice. I agree it is probably a Java problem but I am assuming a lot of
other .NET developers have hit the same problem and that is why I put the
message here.

I have changed the permissions on all of the directories involved so that
everyone can get to them, that is the first thing I thought of.

"Patrice" wrote:
As far as Java is concerned it looks it shouldn't be an ASP.NET problem...
Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
permission or IE setting) or a Java forum. The applet is perhaps in a
directory where you don't have access (which is likely if you use a
directory that is not allowed access through the net as you have only ascx
files in it but you put also the applet file in it).

Patrice
--

"Larry Martin" <La*********@discussions.microsoft.com> a écrit dans le
message de news:09**********************************@microsof t.com...
I am trying to run a Java Applet on my ascx page and am getting an IO
exception when IE6 tries to load the applet. It seems a lot of others are
getting the same problem but a search of the web did not turn up any sort

of
solution. I have tried most of the suggestions but none of them seem to

have
helped with the problem.

My error is below and the most significant part of it is the HTTP

connection
failure.

load: class apXPDropDown.class not found.
java.lang.ClassNotFoundException: apXPDropDown.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: open HTTP connection failed.
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


Jul 21 '05 #3

P: n/a
Did you check also the IIS log to see what happens on this request ?

Also the article mentionned also an IE setting...

Patrice

--

"Larry Martin" <La*********@discussions.microsoft.com> a écrit dans le
message de news:8F**********************************@microsof t.com...
Patrice. I agree it is probably a Java problem but I am assuming a lot of
other .NET developers have hit the same problem and that is why I put the
message here.

I have changed the permissions on all of the directories involved so that
everyone can get to them, that is the first thing I thought of.

"Patrice" wrote:
As far as Java is concerned it looks it shouldn't be an ASP.NET problem... Try http://forum.java.sun.com/thread.jspa?threadID=521842 (caused by Web
permission or IE setting) or a Java forum. The applet is perhaps in a
directory where you don't have access (which is likely if you use a
directory that is not allowed access through the net as you have only ascx files in it but you put also the applet file in it).

Patrice
--

"Larry Martin" <La*********@discussions.microsoft.com> a écrit dans le
message de news:09**********************************@microsof t.com...
I am trying to run a Java Applet on my ascx page and am getting an IO
exception when IE6 tries to load the applet. It seems a lot of others are getting the same problem but a search of the web did not turn up any
sort of
solution. I have tried most of the suggestions but none of them seem
to have
helped with the problem.

My error is below and the most significant part of it is the HTTP

connection
failure.

load: class apXPDropDown.class not found.
java.lang.ClassNotFoundException: apXPDropDown.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: open HTTP connection failed.
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


Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.