473,396 Members | 1,755 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,396 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 3479
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.