[opencms-dev] Applet Error (Incompatible magic value)
Steve Bryan
steve at bright-interactive.com
Fri Jun 13 10:53:30 CEST 2008
Hi Andreas
I had a similar problem recently after moving to a new server and upgrading
to 7, and spent many hours debugging the issue - see
http://mail.opencms.org/pipermail/opencms-dev/2008q1/029420.html
Perhaps this applies for you too?
I was using mod_proxy in apache to forward to Tomcat on 8080. The code in
OpenCms 7 is flawed in my opinion, and creates a link to the applet based on
where the webapp thinks it is, and it includes the 8080 in the URL. My
client's users were unable to access port 8080 and the result was the error
below.
The best solution would be to change the source code (I reference it in the
article), but as a workaround I switched to use mod_jk instead of mod_proxy.
Hope that helps!
Steve
-----Original Message-----
Date: Thu, 12 Jun 2008 13:57:56 +0200
From: Andreas Schendel <as at gera-web.de>
Subject: [opencms-dev] Applet Error (Incompatible magic value)
To: opencms-dev at opencms.org
Message-ID: <48510F44.6040601 at gera-web.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Hi,
i installed a new version of OpenCMS 7.0.4.
Now i cant use the java applet to upload, the java console shows me:
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class
file org/opencms/applet/upload/FileUploadApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
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)
The news java version is installed and the java applet on a old opencms
installation works on the same PC.
Anyone have a solution?
Thanks
More information about the opencms-dev
mailing list