473,382 Members | 1,791 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,382 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 3478
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.