cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea König <>
Subject Signed Applet and Cocoon
Date Tue, 14 Nov 2006 08:37:35 GMT
Hi all,
I have to integrate an applet into my web application. The 
webapplication code is implemented with cocoon 2.1.9. The applet has to 
be signed. If I copy my package tree into my application directory I can 
start my applet. For signing the applet I have to pack my classes into a 
jar file. But if I try to start my applet archived in a jar file the 
following exception is thrown:
 java.lang.ClassFormatError: package/LoginApplet (Bad magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(
    at sun.applet.AppletClassLoader.findClass(
    at java.lang.ClassLoader.loadClass(
    at sun.applet.AppletClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at sun.applet.AppletClassLoader.loadCode(
    at sun.applet.AppletPanel.createApplet(
    at sun.plugin.AppletViewer.createApplet(
    at sun.applet.AppletPanel.runLoader(

Is there anybody could give a hint?

Best regards

Dr. Andrea König

G.punkt - medical services
Halberstädter Str. 115A
39112 Magdeburg

Tel: +49 391 280380
Fax: +49 391 2803822

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message