Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java applet served from tomcat container -- bad magic number



Jim Solderitsch <email@hidden> wrote:

>java.lang.ClassFormatError: com/gestalt/sgs/client/MapAsset (Bad magic
>number)

The data in the JAR is getting mangled somehow.

Or something is getting confused, such as maybe a JAR file is being
rewritten on the fly, so the TOC (which is loaded only once) no longer
points to the correct offsets.

The only other thing I can think of is that something is getting mangled
because it's running on the same host.

I suggest running checksums (or MD5's) of the data received on the client,
to make sure it's identical in all cases. That may mean some manually
saves of URLs, or other kinds of slogging. But you need to ascertain data
integrity before you can do anything else, like find where it's being lost.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.