Applet doesn't load

Explorer-like frontend add-on to upload/download.
Post Reply
bob
Posts: 5
Joined: Sat Apr 11, 2009 3:08 am

Applet doesn't load

Post by bob »

Hi-

I hope you can help.

I downloaded JFileUpload, and it works great. I wanted to check out JDiskExplorer as well, but I'm having problems. I followed all the instructions, and looked through the FAQ and forums. applet_ftp_explorer.html loads, but I get a blank frame. The Apache error log says:

[Fri Apr 10 23:02:02 2009][error] [client _._._._] File does not exist: /[actual server path/web root]/jfileupload/jfileupload
[Fri Apr 10 23:02:05 2009][error] [client _._._._] File does not exist: /[actual server path/web root]/favicon.ico, referer: http://www.[my url].com/jfileupload/applet_ftp_explorer.html

Any ideas?

Thanks so much!!

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Applet doesn't load

Post by support »

Do you have an error or message displayed in the blank frame ?
Are you able to access .properties files directly in browser with:
http://server.com/something/i18n_bar.properties

bob
Posts: 5
Joined: Sat Apr 11, 2009 3:08 am

Re: Applet doesn't load

Post by bob »

Thanks for the quick response!

There's no message in the frame, but there's an icon in the upper left corner: a piece of paper with a red X.

It can open the 2 .properties files in the browser as text files.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Applet doesn't load

Post by support »

Ok, so the error message is in Java console , see the following tutorial to enable Java console:
http://www.jfileupload.com/products/jfi ... oting.html
And post here the error displayed.

bob
Posts: 5
Joined: Sat Apr 11, 2009 3:08 am

Re: Applet doesn't load

Post by bob »

Here it is:

basic: Stopping applet…
basic: Stopping applet…
basic: Finding information/u2026
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@4a7df8, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@4a7df8
basic: Current classloader cache size: 3
basic: Done/u2026
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@4b767
basic: Joining applet thread/u2026
basic: Destroying applet…
basic: Disposing applet…
basic: Quiting applet…
basic: Joined applet thread/u2026
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4a7df8, refcount=1
basic: Loading applet/u2026
basic: Initializing applet/u2026
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1197fa
basic: Starting applet…
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4a7df8, refcount=2
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@4a7df8, refcount=1
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/util/resources.class with proxy=DIRECT
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/util/resources_en.class with proxy=DIRECT
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/util/resources_en.properties with proxy=DIRECT
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/util/resources_en_US.class with proxy=DIRECT
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/util/resources_en_US.properties with proxy=DIRECT
network: Connecting http://www.___.com/jfileupload/jfileupload/transfer/client/core/G.class with proxy=DIRECT
basic: Exception: java.lang.NoClassDefFoundError: jfileupload/transfer/client/core/G

Thanks!

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Applet doesn't load

Post by support »

Are you sure you have jfileupload.jar in lib/ folder ?
Could you post here your ARCHIVE parameters from the JavaScript ?

The errors you get mean that some JAR files are not loaded (not available or not in ARCHIVE parameters).

bob
Posts: 5
Joined: Sat Apr 11, 2009 3:08 am

Re: Applet doesn't load

Post by bob »

Yes, jfileupload.jar is there. (The jfileupload applet is still working.)

ARCHIVE="lib/jfileupload.jar,lib/ftpimpl.jar,lib/cnet.jar,lib/clogging.jar,lib/explorerui.jar"

bob
Posts: 5
Joined: Sat Apr 11, 2009 3:08 am

Re: Applet doesn't load

Post by bob »

Well, now it's working!

And I don't know why it wasn't before. I turned java off and on, restarted the browser, and restarted the computer -- again (I had tried that before posting here) -- and it started working. It's bizarre because jfileupload was working the whole time, so I didn't think it was a java or browser issue.

I have a new computer with new software, so I wouldn't think there'd be any problems on my end, so I don't know...

I really appreciate your help and you getting back to me so quickly. Not all tech support is that responsive.

Thank you!

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Applet doesn't load

Post by support »

Great !

Maye you had a cache problem. Cleaning browser and Java cache should be enough.

Post Reply