Applet Notinited sometimes
We've been using the JUpload .88 applet for a while now (www.jupload.biz), and it's been working great, but we've run into a snag.
Basically we decided to secure out site, so we bought a ssl certificate, and because we bought the ssl cert we had to move our site from the public directory to the secure directory.
That抯 the background.
The problem we're having is that for some reason the JUpload applet doesn抰 want to work for everyone now that its in the secure area. Even here in our office where most of the machines are exactly the same, some of the computers are using it fine, and some get the Applet JUpload Notinited message. Everyone has the same version of Java (build 1.5.0_11). Oh, and when I put the files used by the JUpload applet back into public, it works for everyone everytime. (so basically when they go to the secure upload page they get the failed message, when they go to the non secure upload page it works like it always has).
Here is the Java Console log
Basically I tried opening up the log in the secure area, and as soon as it failed I opened it up in the non secure area, and it worked.
Java Plug-in 1.5.0_11
Using JRE version 1.5.0_11 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Kelly
-
c:clear console window
f:finalize objects on finalization queue
g:garbage collect
h:displaythis 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>
-
Trace level set to 5: all ... completed.
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@9319d9
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@10613aa, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@10613aa
basic: Current classloader cache size: 2
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Quiting applet ...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@10613aa, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@122dad5
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting https://www.jlscan.com/JUpload/startup.class with proxy=DIRECT
network: Connecting https://www.jlscan.com/JUpload/startup.class with proxy=DIRECT
load:class JUpload.startup not found.
java.lang.ClassNotFoundException: JUpload.startup
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
basic: Exception: java.lang.ClassNotFoundException: JUpload.startup
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@122dad5
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@10613aa, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@10613aa
basic: Current classloader cache size: 2
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Quiting applet ...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@9abc69, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@dd5681
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
Mar 22, 2007 2:26:25 PM JUpload.startup <init>
INFO: startup()
Mar 22, 2007 2:26:25 PM JUpload.startup init
INFO: init()
Mar 22, 2007 2:26:25 PM JUpload.startup start
INFO: start()
Mar 22, 2007 2:26:25 PM JUpload.swingVersion.JUpload init
INFO: JUpload initializing
JUpload v0.88 at http://www.jlscan.com/
Mar 22, 2007 2:26:25 PM JUpload.swingVersion.r <init>
INFO: Creating file system view
Mar 22, 2007 2:26:25 PM JUpload.utilities.e G
INFO: Number of preselected files: 0
liveconnect: Invoking JS method: init
There is no JavaScript function init() to call. Ignoring.
I've tried cleaning out the prefetch and the cache, and while cleaning out the cache works sometimes, it doesn't work for all of our customers.
I've also tried downgrading to 1.4.2_12, and it fixes the problem for some people but not all of them.
I've tried posting on the jupload.biz forum, but it seems to be dead, so I'm trying here now.
Any ideas you might have as to why we are having this problem would be greatly appreciated.

