Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
DSCarl  
#1 Posted : Tuesday, July 18, 2006 12:10:44 AM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Hello,

I have a Default.aspx page that has ImageUploader 4.0 and IU 4.0 loads up quite fine in IE 6.0 but will not load up
in firefox. In firefox, I get an error message of "Loading Java Applet Failed". Attached is my code on Default.aspx page.

Please, check out the code and see if there is anything I am missing.

Thanks.
DSCarl.
File Attachment(s):
Default.txt (14kb) downloaded 203 time(s).
Fedor  
#2 Posted : Tuesday, July 18, 2006 12:27:28 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
What do you use in Java console?

Edited by user Monday, October 27, 2008 7:52:27 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
DSCarl  
#3 Posted : Tuesday, July 18, 2006 12:33:38 AM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Hello,

Java console has this:

Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM


Regards,
DSCarl.
Fedor  
#4 Posted : Tuesday, July 18, 2006 1:03:01 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Is it all content of Java console?

Doesn't it have that it is failed to load class?
Best regards,
Fedor Skvortsov
DSCarl  
#5 Posted : Tuesday, July 18, 2006 2:25:56 AM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Yes. You are right. It says "Failed to load class". Below is the error message....

Code:
load: class com.aurigma.imageuploader.ImageUploader.class not found.
java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.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


I am not exactly sure while the class does not load.... Please, let me know your thoughts.

Regards,
DSCarl

Edited by user Wednesday, December 19, 2007 3:56:35 PM(UTC)  | Reason: Not specified

Fedor  
#6 Posted : Tuesday, July 18, 2006 2:50:30 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
JRE can not find ImageUploader2.jar:

Please put instead of:

Code:
iu.javaAppletCodeBase="ImageUploader2.jar";


The following one:

Code:
//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "./";
Best regards,
Fedor Skvortsov
DSCarl  
#7 Posted : Tuesday, July 18, 2006 3:06:51 AM(UTC)
DSCarl

Rank: Member

Groups: Member
Joined: 4/25/2006(UTC)
Posts: 61

Thanks Fedor....... it works........ I just missed that detail.

Regards,
DSCarl.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.