Applets Not Loading

wcladek

Joined: 2004-07-20
Posts: 2
Posted: Tue, 2004-07-20 14:37

I am having a problem with my Gallery build 1.4.3. I have installed it on a Linux server via FTP as a standalone. When I try to load either the Gallery Remote or Fullscreen Slideshow applets, the load bar gets about 1/3 of the way (this varies) before freezing. I have tried updating the Remote applets to the nightly build, but still no luck. I have tried it with many different computers and all of them have the same problem. I know I have seen this problem mentioned in a couple other spots, but none of the solutions seem to be related. Here is the text from the Java Console:

load: class com.gallery.GalleryRemote.GRAppletMini not found.

java.lang.ClassNotFoundException: com.gallery.GalleryRemote.GRAppletMini
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

Any ideas?

Will

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-07-20 15:48

The most likely explanation is that you uploaded the jar files in text mode. They're binary files and need to be uploaded in binary mode.

 
wcladek

Joined: 2004-07-20
Posts: 2
Posted: Tue, 2004-07-20 15:59

Oh, cool, thanks, that did it. The installation guide for using FTP in the documentation actually says "Upload all files except for image files in ASCII mode. Upload image files in binary mode", so that's why I was confused. Thanks again!

Will

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-07-20 16:02

What's the URL of that page? I'll fix it.