maternal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18667 Posts in 5537 Topics- by 9349 Members - Latest Member: wilf7col

May 25, 2013, 10:46:24 AM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVCUploadsJava Upload Error
Pages: [1]
Print
Author Topic: Java Upload Error  (Read 3190 times)
0 Members and 1 Guest are viewing this topic.
hgtwn
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: June 15, 2009, 07:38:07 PM »

I am unable to upload pictures to joomgallery using the Java Upload method.  I have the most recent java installed (1.6.0_13)  Every time I upload a file using java is gives me the error message wjhk.jupload2.exeption.JUploadExeption: unexpected EOF (in header) i don't have anything special on my server.

Any Ideas?
Logged
aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #1 on: June 15, 2009, 07:56:01 PM »

Most recent is JAVA Version 6 Update 14.
Do you think you gave us all informations to help you?

Joomla! Version
JoomGallery Version
phpinfo() of your server settings...
Does the upload itself work?
Are the other uploads working?
...

Logged
hgtwn
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: June 15, 2009, 09:07:36 PM »

I installed java 1.6.0_14 and still have the same error message.  The message appears as soon as the status bar in the upload process says "waiting for server response"  It successfully prepares the images just errors in the uploading portion.

Joomla! Version: 1.5.8
JoomGallery Version: 1.5.0.2
phpinfo() of your server settings...
Does the upload itself work? using the java uploader with multiple files, it will prepare the files and then start uploading before all the file preparation is complete.  It iwll upload the files successfully until all the preparation is complete and then give the error message and stop.
Are the other uploads working? Yes, it works to upload a single file at a time.  When i upload multiple files i get an insufficient memory error...due to php.ini having only 20Mb memory
« Last Edit: June 15, 2009, 09:12:34 PM by hgtwn » Logged
aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #3 on: June 15, 2009, 10:50:18 PM »

It's time to update your Joomla! to 1.5.11.

Quote
phpinfo() of your server settings...
waiting for it..

Quote
It iwll upload the files successfully until all the preparation is complete and then give the error message and stop.
Are any files uploaded? I don't think so. The applet starts two threads. One for preparation a bulk of 4 pictures, another with uploading.
When starting with uploading the first 4 pictures it will break.

Please post a debug output of the applet with uploading one picture. Click right with pressed CTRL key over the applet....
Is your backend secured with a .htaccess/.htpasswd?

Regards
Logged
hgtwn
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #4 on: June 16, 2009, 05:04:39 PM »

phpinfo() attached.
joomgallery debug log file attached for uploading 1 file using java uploader.
WHen uploading 4 pictures or less, the error message appears at the very end of the process but all the pictures get uploaded properly.  When uploaded more than 4 pictures the error message pops up after uploading the 4th picture and then it stops.
i don't have .htaccess that i know of.

I also upgraded to Joomla 1.5.11 and the problem still occurs.
« Last Edit: June 16, 2009, 07:48:08 PM by hgtwn » Logged
aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #5 on: June 16, 2009, 09:08:02 PM »

Hi,
thank you
It seems that the session to the admin backend is lost for the applet after upload the first 4 (or less) pictures.
Could you send me a debug output with exact 5 pictures?

Regards
Andreas
Logged
hgtwn
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #6 on: June 17, 2009, 06:59:22 PM »

Could you send me a debug output with exact 5 pictures?

Attached is the log...thanks so much for the help!!
Logged
aHa
Developer-Team
Hero Member
*****
Offline Offline

Posts: 990


View Profile WWW
« Reply #7 on: June 17, 2009, 09:17:49 PM »

Hm,
it's a local installation, or? If not could you give me an access to the backend to make some tests?
Then the memory limit of 20M seems to be a little low as mentioned, but i can't see any error messages of the JoomGallery relating to this..
But try to upload pictures with smaller dimensions, e.g. 640*480

At last the picture names contains spaces. I'm not sure but try a test without them.

Regards
Andreas
Logged
sieumicro
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #8 on: January 21, 2011, 10:46:47 AM »

Java Plug-in 1.6.0_23
Using JRE version 1.6.0_23-b05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Admin
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
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>
----------------------------------------------------


java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/EmptyApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(Unknown Source)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.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)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/EmptyApplet
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/JUploadApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(Unknown Source)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.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)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/JUploadApplet


mysite: http://meliawedding.com.vn
Logged
MisterPat
Newbie
*
Offline Offline

Posts: 7



View Profile
« Reply #9 on: January 26, 2011, 08:14:46 PM »

Java Plug-in 1.6.0_23
Using JRE version 1.6.0_23-b05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Admin
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
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>
----------------------------------------------------


java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/EmptyApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(Unknown Source)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.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)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/EmptyApplet
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/JUploadApplet
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(Unknown Source)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.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)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file wjhk/jupload2/JUploadApplet


mysite: http://meliawedding.com.vn

I too have a member with this problem.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 846 access attempts in the last 7 days.