JUpload fails to load JUpload fails to load
 

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

JUpload fails to load

Started by Matthias182, July 27, 2009, 12:55:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matthias182

Hello Etienne,

I have installed your JUpload plugin using the coppermine plugin manager. I also followed your instructions to do the setup for JUpload.

But I get consistently an error when trying to use the plugin:

Java Plug-in 1.6.0_14
Verwendung der JRE-Version 1.6.0_14-b08 Java HotSpot(TM) Client VM
Home-Verzeichnis des Benutzers = D:\Users\Matthias
----------------------------------------------------
c:   Konsole löschen
f:   Objekte in Finalisierungswarteschlange finalisieren
g:   Speicherbereinigung
h:   Diese Hilfemeldung anzeigen
l:   ClassLoader-Liste ausgeben
m:   Speicherbelegung anzeigen
o:   Protokollierung auslösen
q:   Konsole ausblenden
r:   Richtlinien-Konfiguration neu laden
s:   System- und Bereitstellungseigenschaften ausgeben
t:   Threadliste ausgeben
v:   Thread-Stack ausgeben
x:   ClassLoader-Cache löschen
0-5: Trace-Stufe auf <n> setzen
----------------------------------------------------


java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/JUploadApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Ausnahme: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/JUploadApplet
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/EmptyApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Ausnahme: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/EmptyApplet
Debug mode enabled.
Parsing parameters for class com.smartwerkz.jupload.classic.JUpload:
JUpload v0.90 @ http://www.jupload.biz/demo/0.90/
Your browser does not support javascript. JS support not installed.
27.07.2009 12:46:41 com.smartwerkz.jupload.classic.util.concurrent.Executor cleanup
INFO: Uninitialized Executor terminated
27.07.2009 12:46:41 com.smartwerkz.jupload.classic.util.concurrent.Executor cleanup
INFO: Uninitialized Executor terminated
27.07.2009 12:46:41 com.smartwerkz.jupload.classic.util.concurrent.Executor cleanup
INFO: Uninitialized Executor terminated
27.07.2009 12:46:41 com.smartwerkz.jupload.classic.util.concurrent.Executor cleanup
INFO: Uninitialized Executor terminated
27.07.2009 12:46:41 com.smartwerkz.jupload.classic.util.concurrent.Executor cleanup
INFO: Uninitialized Executor terminated

Please help.

Thank you in advance.


regards,
Matthias

etienne_sf

hi,

AFAIR,you should correct the trouble by re-instalingl it.

Etienne

Matthias182

Hi,

I did reinstall the plug in but the issue remains the same.

What else can I do?


Matthias

etienne_sf

hi,

Wheb first readkng your mail, I missed this part of your output:

JUpload v0.90 @ http://www.jupload.biz/demo/0.90/

this forum has no link with jupload,biz.


Etienne

Matthias182

Hi Etienne,

Not sure where the text comes from. I downloaded the plugin from here:

http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=53168.0;attach=22763

I have deleted all related files and removed the plugin from CPG.

I downloaded the plugin again from the above link and installe dit again using CPG.

The issue still remains but the log looks different:

Java Plug-in 1.6.0_14
Verwendung der JRE-Version 1.6.0_14-b08 Java HotSpot(TM) Client VM
Home-Verzeichnis des Benutzers = D:\Users\Matthias
----------------------------------------------------
c:   Konsole löschen
f:   Objekte in Finalisierungswarteschlange finalisieren
g:   Speicherbereinigung
h:   Diese Hilfemeldung anzeigen
l:   ClassLoader-Liste ausgeben
m:   Speicherbelegung anzeigen
o:   Protokollierung auslösen
q:   Konsole ausblenden
r:   Richtlinien-Konfiguration neu laden
s:   System- und Bereitstellungseigenschaften ausgeben
t:   Threadliste ausgeben
v:   Thread-Stack ausgeben
x:   ClassLoader-Cache löschen
0-5: Trace-Stufe auf <n> setzen
----------------------------------------------------


java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/JUploadApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Ausnahme: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/JUploadApplet
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/EmptyApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Ausnahme: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file wjhk/jupload2/EmptyApplet


Please advise.

etienne_sf

hi,

I fear I did what I can for the moment. I'm in holidays for still two weeks, and I won't be able to investigate it frm my phone...

Etienne

Matthias182

Hi,

no worries. Enjoy your vacation. Some delay is not an issue for me.

But could you have a look at my problem after your return?


regards,
Matthias


Matthias182

HI Etienne,

are you still on holidays or did you forget about my problem?


regards,
Matthias

etienne_sf

Quote from: Matthias182 on August 31, 2009, 08:34:29 AM
are you still on holidays or did you forget about my problem?

Hi,

  I fear my mind is still in vacation (but my body isn't !)...


Some questions:
1) Do you still have the next line in the console ?
JUpload v0.90 @ http://www.jupload.biz/demo/0.90/

2) Are you installing the plugin by FTP or by HTTP ?

3) Did you restart your browser, before testing the new version (almost necessary to clear the java cache) ?




Etienne

Matthias182

Quote from: etienne_sf on September 01, 2009, 10:16:14 AM
Hi,

  I fear my mind is still in vacation (but my body isn't !)...


Some questions:
1) Do you still have the next line in the console ?
JUpload v0.90 @ http://www.jupload.biz/demo/0.90/

2) Are you installing the plugin by FTP or by HTTP ?

3) Did you restart your browser, before testing the new version (almost necessary to clear the java cache) ?




Etienne

1. I do not have the line in the console anymore.

2. I am using coppermine to find the file on my computer and install it from there -so HTTP.

3. I completely removed all settings and also tried another browser where I did the same. I also check with the computer of a friend. Result is always the same.


regards,
Matthias

etienne_sf

Hum hum,

  To manage this case, I may have to add some check in the PHP file, about the current jupload installation.

- Which jupload version is it ?
- Can you install it by sending the files by ftp ?
- Do you have any proxy setting in your browser ?  (If ignored by Java, Java may not find the file containing the java classes)

BTW: an admin account on your side may help.

Etienne

Matthias182

Quote from: etienne_sf on September 06, 2009, 10:55:01 AM
Hum hum,

  To manage this case, I may have to add some check in the PHP file, about the current jupload installation.

- Which jupload version is it ?
- Can you install it by sending the files by ftp ?
- Do you have any proxy setting in your browser ?  (If ignored by Java, Java may not find the file containing the java classes)

BTW: an admin account on your side may help.

Etienne


Hi,

- version is 3.6.2
- I could try to send it via FTP. Is there an explanation how to do that?
- no there are no proxy settings I am aware of

Sure, you can get an admin account. How can I give oyu the details? I do not want to post them here in the forum.


Matthias

etienne_sf

About FTP:

  It may be due to a bad installation, during unzipping of files. Doing a FTP installation already corrected such troubles.

Now, after some googeling, I found one other error: It can happen when your web server customize the 404 HTTP error, and Java doesn't recognize it.

Actually, it may be due to:
1) The jar file not being found.
2) The java class loader trying another upload way. I'll have to investigate it.

Etienne

Matthias182

HI Etienne,

I tried it now again with the FTP.

I deleted everything before I started. Tranferred the extracted files to the plugin folder and used cpg to install it.

The result is the same as before.

How can I provide oyu with the admin details?


regards,
Matthias

etienne_sf

Hum, hum,

If yes:
- Do you have special error pages on your web site ?  In case of a 404, is the 404 the actual status code returned by the server ?
(if you don't know, I can check on your server URL, without password)

  A last set of questions (I don't really having other's password...):
Do you manage the apache (or other web server) yourself ?

If yes, can you send me the log (access and error) of your web server, for the period when the error occur.

Etienne


Matthias182

Hi Etienne,

I am not sure about the error pages. The URL is www.matthiasgödecke.de (or if your browser does not support this character ö => www.xn--matthiasgdecke-3pb.de)

I do not manage the apache on my own. I have bought the service from a webhosting service called domaingo (www.domaingo.de).


Matthias

etienne_sf

Hi,

  My opinion is that such a host name is non standard, and can generate troubles.

I just tried to simulate it, locally, with my hosts file. It doesn't work (I can't even see its home page).


Can you put a new entry in your hosts file (c:\windows\system32\etc\hosts on windows), with a 'standard name', for instance www.matthiasgodecke.de, and give it a try ?
I would not be surprised if the applet would load correctly, then.

Etienne

Matthias182

Hi,

that could be an explanation.

I tried the hint with the hosts but that does not work. When I ping the adress I got the correct IP has defined in hosts, but the browser seems to call the DNS server from my router directly to get the correct IP. So it can not find the adress in hosts.

Do you have another idea. I have no chance to change the adress.


Matthias

etienne_sf

Hi,

I'm not sure of your answer. Did you write a line in your hosts file, like this one:


n.n.n.n  www.matthiasgodecke.de


And tried to access to your web site with http://www.matthiasgodecke.de URL ?
(you probably need to change your Coppermine configuration for this test, by putting this URL instead of www.matthiasgödecke.de).

Then, your computer won't attack the DNS, but will read IP for www.matthiasgodecke.de from your host file.

Etienne

Matthias182

Hi,

yes, I created such a record in the hosts file I pinged the website before to find the correct IP).

Now I did the same again but this time with changing the coppermine configuration. But the result was the same.

Not quite if I did everything correct.


Matthias