Hey Scott, I know of lots of people where JRun has thrown the 'bad magic
number' error, and you have to delete everything out of the jsp directory to
fix it. it has happened to me as well. it is not really a problem in
production where the pages should be precompiled, but it would be nice if
you guys could fix this bug. 

-----Original Message-----
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:54 AM
To: JRun-Talk
Subject: RE: Error Message


The reason I didn't suggest this is that you reported these errors with what
looked to be the JRun management console's pages (jrun_admin_***), in which
case you'd have to reinstall the JRun jmc-app, but on second look it appears
you have some of your own "admin" pages and I was wrong.

FYI, the "magic number" in Java class files is 0xCAFEBABE.  If these are not
the first bytes of any class file, the JVM will throw a ClassFormatError.
The only way this can happen is if the byte codes in the class file are
corrupted, or if it's really not a Java class file.

Scott Stirling
JRun QA

-----Original Message-----
From: Boogie Brown
To: JRun-Talk
Sent: 5/22/01 10:27 AM
Subject: Re: Error Message

I solved my error qustion.

If anyone gets this error:
javax.servlet.ServletException: jrun__admin__selectTemplateType2ejsp1d
(Bad
magic number)
java.lang.ClassFormatError: jrun__admin__selectTemplateType2ejsp1d (Bad
magic number)

go into the jsp directory within WEB-INF and delete all the files.
Suposedly this message means that the compiled java/jsp file are
corrupt.


Thank You
Michael Brown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to