473,226 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,226 software developers and data experts.

Running Java Applet Under IE6 from .NET User Control

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
3 3468
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
3
by: Daniel Pope | last post by:
Hello Everybody, I'm preparing for doing a daunting task: to access Out look Microsoft Outlook Express(regardles the operating system and Outlook version) from a Java applet (after the client...
2
by: MarkMurphy | last post by:
Is there a limitation in ASP.NET in this regard? From the aspx code below, I can successfully call a Java applet. If I try the identical thing in a user control ascx however, the control loads...
3
by: Larry Martin | last post by:
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...
1
by: david | last post by:
I have the following question about them and need your help. 1. Can ActiveX control open a socket in client machine to connect to a third machine other than web server? 2. Can ActiveX control...
5
by: farseer | last post by:
Hi, i have an applet java applet which basically serves as a stock streamer..it connects to a data feed and show the bid/ask/last/etc info for a portfolio of stocks in real time. I would like to...
0
by: shanmukhi | last post by:
Hi All I got a problem in running java programs. i am not able to run java applet while running i got a problem as Loading Java Applet Failed java.lang.NoClassDefFoundError: App (wrong...
1
by: dishal | last post by:
Can anyone help me please? How do I convert these codes to launch from a JFrame instead of a Java Applet? A simple program where the user can sketch curves and shapes in a variety of...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.