Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet

Started by natrlhy, July 09, 2008, 08:00:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

natrlhy

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

etienne_sf

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

natrlhy

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!

etienne_sf

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

jpucky

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.

etienne_sf

jupload-browserVM.html ??

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


Etienne

jpucky

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

etienne_sf

Quote from: 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

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/

  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