I've used serialization only with RMI. I've always payed attention to wich version of the VM's where involved in the communication. If you read the following excerpt from the serialization specifications:
------------------------------------------- 6.3 Stream Protocol Versions It was necessary to make a change to the serialization stream format in JDKTM 1.2 that is not backwards compatible to all minor releases of JDKTM 1.1. To provide for cases where backwards compatibility is required, a capability has been added to indicate what PROTOCOL_VERSION to use when writing a serialization stream. The method ObjectOutputStream.useProtocolVersion takes as a parameter the protocol version to use to write the serialization stream. ------------------------------------------- I argue you hitted the JDK/JRE versioning problem since in your stacktrace you encountered > at com/ms/!!!Internal_Class_0.DefaultReadMethod and I HOPE you are not running your servlet container on a 1.1 compliant JDK :) Marco ----- Original Message ----- From: "Harinath D.P" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 1:53 PM Subject: Re: StreamCorruptedException: Header out of range 124 > Michael > > I tried it .. had no luck... It is still throwing the same > > > [waste of bandwidth deleted] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
