Error on live server after upgrading to latest version

User 4f3657cc2f

09-03-2010 15:03:59

Hi,


we have integrated Marvin SKetch and it was working finr, yesterday I updated it with the latest version and ittoo worked fine on local end but when same files were uploaded on live server it is shhowing below error:


java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file chemaxon/marvin/applet/JMSketchLaunch
 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)
Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file chemaxon/marvin/applet/JMSketchLaunch


I have replaced all the files again but still on live server issue persist.


Please suggest.


Thanks

ChemAxon 7c2d26e5cf

09-03-2010 15:49:36

First of all check which version of Java you have. Latest Marvin requires at least Java 1.5. See details here:


Which Java versions are supported by Marvin?


If you have not got an earlier Java version, please update to a newer one.


If your software environment is proper, clean Java cache, probabably some deprecated resources were rested in the Java cache.


How I can clear JRE cache?


If the problem is still existing (after clearing of the cache), the error may be on your server. Certain jars can be corrupt there. Unwrap the marvin applet package into an empty directory on the server and refers you applet directory to this pure package.