You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by jpablo <jp...@spcom.com.ar> on 2001/12/04 21:04:58 UTC
Re[2]: Bad magic number
CA FE BA BE 00 03 00 2D
Any clue?
TT> What are the first 8 bytes of the .class file?
TT> // tt
>> -----Original Message-----
>> From: jpablo [mailto:jpablo@spcom.com.ar]
>> Sent: Tuesday, December 04, 2001 4:04 PM
>> To: xerces-j-user@xml.apache.org
>> Subject: Bad magic number
>>
>>
>>
>> Ifixed my last problem, but now I have the following exception when I
>> start my web application on WebSphere using struts (in the action
>> servlet instantioation stage). Anyone can give me a tip about the
>> cause?
>>
>> [01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root Cause
>> java.lang.ClassFormatError:
>> org/apache/xerces/framework/XMLErrorReporter ( Bad magic number)
>> at java.lang.ClassLoader.defineClass0(Native Method)
>>
>> at
>> java.lang.ClassLoader.defineClass(ClassLoader.java:469)
>>
>> at
>> java.lang.ClassLoader.defineClass(ClassLoader.java:419)
>>
>> at
>> com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemCl
>> ass(DynamicClassLoa
>>
>> --
>> Juan Pablo Villaverde
>> Tec. en Infraestructura de Redes
>> Soluciones Punto Com S.A.
>> http://www.spcom.com.ar
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
>> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>>
TT> ---------------------------------------------------------------------
TT> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
TT> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A.
http://www.spcom.com.ar
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Re[2]: Bad magic number
Posted by Taras Tielkes <ta...@xs4all.nl>.
Hi J Pablo,
What JDK (vendor/version) did you use to compiler the class?
What JVM (verdor/version) do you use to run it?
// tt
----- Original Message -----
From: "jpablo" <jp...@spcom.com.ar>
To: "Taras Tielkes" <xe...@xml.apache.org>
Sent: Tuesday, December 04, 2001 21:04
Subject: Re[2]: Bad magic number
>
>
> CA FE BA BE 00 03 00 2D
>
>
> Any clue?
>
> TT> What are the first 8 bytes of the .class file?
>
> TT> // tt
>
> >> -----Original Message-----
> >> From: jpablo [mailto:jpablo@spcom.com.ar]
> >> Sent: Tuesday, December 04, 2001 4:04 PM
> >> To: xerces-j-user@xml.apache.org
> >> Subject: Bad magic number
> >>
> >>
> >>
> >> Ifixed my last problem, but now I have the following exception
when I
> >> start my web application on WebSphere using struts (in the action
> >> servlet instantioation stage). Anyone can give me a tip about the
> >> cause?
> >>
> >> [01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root
Cause
> >> java.lang.ClassFormatError:
> >> org/apache/xerces/framework/XMLErrorReporter ( Bad magic
number)
> >> at java.lang.ClassLoader.defineClass0(Native Method)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:469)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:419)
> >>
> >> at
> >> com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemCl
> >> ass(DynamicClassLoa
> >>
> >> --
> >> Juan Pablo Villaverde
> >> Tec. en Infraestructura de Redes
> >> Soluciones Punto Com S.A.
> >> http://www.spcom.com.ar
> >>
> >>
> >>
>
>> -------------------------------------------------------------------
--
> >> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> >> For additional commands, e-mail:
xerces-j-user-help@xml.apache.org
> >>
>
>
TT> ------------------------------------------------------------------
---
> TT> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> TT> For additional commands, e-mail:
xerces-j-user-help@xml.apache.org
>
>
>
>
> --
> Juan Pablo Villaverde
> Tec. en Infraestructura de Redes
> Soluciones Punto Com S.A.
> http://www.spcom.com.ar
>
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Re[2]: Bad magic number
Posted by Lalit Shravage <ap...@yahoo.com>.
Its the same as MZ for an exe on windows
Lalit
----- Original Message -----
From: "jpablo" <jp...@spcom.com.ar>
To: "Taras Tielkes" <xe...@xml.apache.org>
Sent: Tuesday, December 04, 2001 12:04 PM
Subject: Re[2]: Bad magic number
>
>
> CA FE BA BE 00 03 00 2D
>
>
> Any clue?
>
> TT> What are the first 8 bytes of the .class file?
>
> TT> // tt
>
> >> -----Original Message-----
> >> From: jpablo [mailto:jpablo@spcom.com.ar]
> >> Sent: Tuesday, December 04, 2001 4:04 PM
> >> To: xerces-j-user@xml.apache.org
> >> Subject: Bad magic number
> >>
> >>
> >>
> >> Ifixed my last problem, but now I have the following exception when I
> >> start my web application on WebSphere using struts (in the action
> >> servlet instantioation stage). Anyone can give me a tip about the
> >> cause?
> >>
> >> [01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root Cause
> >> java.lang.ClassFormatError:
> >> org/apache/xerces/framework/XMLErrorReporter ( Bad magic number)
> >> at java.lang.ClassLoader.defineClass0(Native Method)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:469)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:419)
> >>
> >> at
> >> com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemCl
> >> ass(DynamicClassLoa
> >>
> >> --
> >> Juan Pablo Villaverde
> >> Tec. en Infraestructura de Redes
> >> Soluciones Punto Com S.A.
> >> http://www.spcom.com.ar
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> >> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
> >>
>
> TT> ---------------------------------------------------------------------
> TT> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> TT> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
>
>
> --
> Juan Pablo Villaverde
> Tec. en Infraestructura de Redes
> Soluciones Punto Com S.A.
> http://www.spcom.com.ar
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Re[2]: Bad magic number
Posted by Taras Tielkes <ta...@xs4all.nl>.
Hi,
A common cause of class file corruption is FTP transfer in text mode.
// tt
----- Original Message -----
From: "jpablo" <jp...@spcom.com.ar>
To: "Taras Tielkes" <xe...@xml.apache.org>
Sent: Tuesday, December 04, 2001 21:04
Subject: Re[2]: Bad magic number
>
>
> CA FE BA BE 00 03 00 2D
>
>
> Any clue?
>
> TT> What are the first 8 bytes of the .class file?
>
> TT> // tt
>
> >> -----Original Message-----
> >> From: jpablo [mailto:jpablo@spcom.com.ar]
> >> Sent: Tuesday, December 04, 2001 4:04 PM
> >> To: xerces-j-user@xml.apache.org
> >> Subject: Bad magic number
> >>
> >>
> >>
> >> Ifixed my last problem, but now I have the following exception
when I
> >> start my web application on WebSphere using struts (in the action
> >> servlet instantioation stage). Anyone can give me a tip about the
> >> cause?
> >>
> >> [01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup X Root
Cause
> >> java.lang.ClassFormatError:
> >> org/apache/xerces/framework/XMLErrorReporter ( Bad magic
number)
> >> at java.lang.ClassLoader.defineClass0(Native Method)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:469)
> >>
> >> at
> >> java.lang.ClassLoader.defineClass(ClassLoader.java:419)
> >>
> >> at
> >> com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemCl
> >> ass(DynamicClassLoa
> >>
> >> --
> >> Juan Pablo Villaverde
> >> Tec. en Infraestructura de Redes
> >> Soluciones Punto Com S.A.
> >> http://www.spcom.com.ar
> >>
> >>
> >>
>
>> -------------------------------------------------------------------
--
> >> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> >> For additional commands, e-mail:
xerces-j-user-help@xml.apache.org
> >>
>
>
TT> ------------------------------------------------------------------
---
> TT> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> TT> For additional commands, e-mail:
xerces-j-user-help@xml.apache.org
>
>
>
>
> --
> Juan Pablo Villaverde
> Tec. en Infraestructura de Redes
> Soluciones Punto Com S.A.
> http://www.spcom.com.ar
>
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org