A bad magic number means the class file is corrupted. You need to check your
build of the bean classes.

----- Original Message ----- 
From: "Jim Cheesman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 7:58 AM
Subject: [JBoss-user] Bad Magic Number


> Hi!
> I'm trying to deploy my first ejb (so I freely admit there could be coding 
> errors, errors in the xml files etc.) and I get the following exception:
> 
> ************************
> [J2EE Deployer Default] Deploy J2EE application: 
> file:/E:/jdk1.3/jboss-tomcat-2.2/jboss-2.2/deploy/Athlete.jar
> [J2EE Deployer Default] Create application Athlete.jar
> [J2EE Deployer Default] install module Athlete.jar
> [Container factory] 
> Deploying:file:/E:/jdk1.3/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/Athlete.jar/
> [Verifier] Verifying 
> file:/E:/jdk1.3/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/Athlete.jar/ejb1003.jar
> [Verifier] java.lang.ClassFormatError: test/ejb/AthleteBean (Bad magic number)
> [Verifier]      at java.lang.ClassLoader.defineClass0(Native Method)
> [Verifier]      at java.lang.ClassLoader.defineClass(Unknown Source)
> [Verifier]      at java.security.SecureClassLoader.defineClass(Unknown Source)
> [Verifier]      at java.net.URLClassLoader.defineClass(Unknown Source)



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to