Hi,

I have also faced  this problem. It is clear that  corrrupted class  file is causing this problem. Because the magic number genrated as part of the class file,  by the compliler is  wrong or  the  class file is corrupted (  first four bytes of class file i.e magic no. is changed).

Any solution !!! for this apart from deleting the corrupt class files ???

--Joshi

Brian Zimmer wrote:

Steve,

I'll certainly to that.  As for which jsp's, it's odd, but it's the jsp that
are less frequently used.  The ones which get hit the most seem to be fine.
I have no idea if there is a correlation, but that's been my observation.

brian

-----Original Message-----
From: Steve Penella [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 8:12 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Bad magic number

Brian,

We've seen this happen on occasion but not consistently.

Does this happen to you with one particular jsp file?

Can you do me a favor?  When this happens again, can you send me the jsp,
java and class files before you delete the java and class files for
regeneration and recompilation?

Thanks,
Steve

-----Original Message-----
From: Brian Zimmer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 5:48 PM
To: '[EMAIL PROTECTED]'
Subject: Bad magic number

I have been getting the following error with frightening regularity:

javax.servlet.ServletException: jrun__admin__project__project_list2ejsp1f
(Bad magic number)
java.lang.ClassFormatError: jrun__admin__project__project_list2ejsp1f (Bad
magic number)

Has anyone else seen this?  I can fix it by removing the .class and .java
file and forcing a recompilation of the jsp, but why is it happening in the
first place?

thanks,

brian

<signature>
<name>brian zimmer</name>
<email>bzimmer <at/> ignitemedia <dot/> com</email>
<voice>773.293.4344</voice>
</signature>

----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to