Page 1 of 1

JFileupload Stopped working

Posted: Wed Aug 15, 2012 12:42 pm
by krappold
We purchased JFileupload several years agoa and it has worked solid.

Recently, without us changing anything in the sites code (that we know of), it stopped working.

it looks like it is loading but fails in the end. The Java error details are below:

===========================================================
Java Plug-in 1.6.0_33
Using JRE version 1.6.0_33-b03 Java HotSpot(TM) Client VM
User home directory = C:\Users\kevin.rappold




----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Aug 15, 2012 8:36:11 AM jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.4 Build FINAL.001
Aug 15, 2012 8:36:13 AM jfileupload.upload.client.MApplet A
INFO: CustomSM enabled
java.util.MissingResourceException: Can't find bundle for base name i18n_bar, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at jfileupload.transfer.client.util.E.A(Unknown Source)
at jfileupload.transfer.client.util.Conf.G(Unknown Source)
at jfileupload.transfer.client.util.Conf.B(Unknown Source)
at jfileupload.upload.client.MApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
:o
===========================================================

Re: JFileupload Stopped working

Posted: Thu Aug 16, 2012 5:24 pm
by krappold
Is support reading this? I haven't seen anything from anyone so far.

Re: JFileupload Stopped working

Posted: Fri Aug 17, 2012 7:09 am
by support
This error means that i18n_bar.properties cannot be loaded by applet. If it was working before then it means you had a web server update that makes such file not served anymore. There could be 2 reasons:
1 - i18n_bar.properties have been removed
2 - .properties file are not served anymore by web server. Check you can access it directly in browser to know. Also under some web servers such as Microsoft IIS, make sure ".properties" extension is mapped to "text/plain" in mime-types section of your web server.

Re: JFileupload Stopped working

Posted: Fri Aug 17, 2012 10:27 am
by krappold
Thanks. Mapping the Mime type solved the issue. Apparently the ISP had move the site from Windows 2003 to Windows 2008 which broke the previously setup Mime type.

So your second solution was the fix.

Re: JFileupload Stopped working

Posted: Fri Aug 17, 2012 6:55 pm
by support
Great!