forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 JUpload by etienne_sf => Topic started by: natrlhy on July 09, 2008, 08:00:21 am

Title: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: natrlhy on July 09, 2008, 08:00:21 am
I was running the 3.0.1 plugin version and I was getting this error:

java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
   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)

I updated to 3.2.1 and I am still getting the same error. I have the latest java runtime installed and the plugin does not work in Firefox or IE. Any help would be appreciated.

I also tried enabling debug mode and all I see at the top is this:

[DEBUG] Category 10010 is not displayed. category is switched to 0
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: etienne_sf on July 09, 2008, 10:38:10 am
Hi,

  I guess the plugin is not correctly installed. Do my demo site work for you ?

If yes, let's look for problem in your installation.

  The most obvious question is: is the wjhk.jupload.jar file present on your server file system, in plugins/jupload ?


Etienne
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: natrlhy on July 09, 2008, 04:54:06 pm
Hi Etienne,

Your demo site worked fine for me.

I double-checked the installation and it looked fine. I also changed around some permissions and that did not make a difference.

Once I got to work and accessed my site on a different network, it displays the applet just fine and I do not get this error. I wonder if it's due to being on the same LAN network at home that I got this error. I will have to investigate further. Thanks for your input!
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: etienne_sf on July 10, 2008, 02:44:07 pm
I think you should look around these points:

1) Personal firewall on your computer, that prevents Java to access to the network
2) Any particular Java network access configuration. You can check that, with the java control panel.
3) Any proxy that would redirect to another network, unless an exception (not set for java) generate a direct access.

Etienne
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: jpucky on September 05, 2008, 06:08:12 pm
Hi, i got the same Error.
The "ARCHIVE" Attribute ist missing in the jupload-browserVM.html.
Just add:

ARCHIVE  = "wjhk.jupload.jar"

to the jupload-browserVM.html.
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: etienne_sf on September 05, 2008, 06:50:54 pm
jupload-browserVM.html ??

 ???  What's that ?    It's not part of the jupload package !


Etienne
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: jpucky on September 05, 2008, 07:14:47 pm
Hm,
i found it in the Jar-File "jupload-V3.4.1f-src.jar" on
http://sourceforge.net/project/showfiles.php?group_id=59144&release_id=597866
in the Package "\wwwroot\pages\jupload-browserVM.html"

Tommes
Title: Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
Post by: etienne_sf on September 06, 2008, 10:46:53 am
Hm,
i found it in the Jar-File "jupload-V3.4.1f-src.jar" on
http://sourceforge.net/project/showfiles.php?group_id=59144&release_id=597866
in the Package "\wwwroot\pages\jupload-browserVM.html"

Tommes

oups: you're asking for support on the Coppermine plugin, or on the applet alone ?

  This forum is dedicated to the Coppermine plugin. For the applet along, please post on the sourceforge forums. See the jupload applet project, on sourceforge:
http://sourceforge.net/projects/jupload/ (http://sourceforge.net/projects/jupload/)

  Now, about the file you mentionned: it's up to a very very old version of this applet. Please look at html files in the /wwwroot directory instead. This file is now removed from SVN.

Etienne