Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet  (Read 22052 times)

0 Members and 1 Guest are viewing this topic.

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77

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
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki

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
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77

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!
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki

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
Logged

jpucky

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
« Reply #4 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.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
« Reply #5 on: September 05, 2008, 06:50:54 pm »

jupload-browserVM.html ??

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


Etienne
Logged

jpucky

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
« Reply #6 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
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Getting java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
« Reply #7 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/

  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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.