Your error message indicates that there is some other native code
that is causing a problem (perhaps  your serialized object refers to a
DLL/SO?).  I think you might want to investigate that first.

        For reading serialized object from one JVM in another version the
JavaDocs seem to imply that it should happen without a problem.  1.3 should
be able to read 1.1.6 streams without any additional processing, according
to the JavaDocs for the ObjectStreamConstant's PROTOCOL_VERSION_1 field.
Also, ObjectOutputStream has a useProtocolVersion that can make 1.2/1.3
write files in the 1.1 format.

        Randy

> -----Original Message-----
> From: Andy C [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 7:21 AM
> To: [EMAIL PROTECTED]
> Subject: OT: Serialization problem between JVM 1.1.6 and 1.3
> 
> 
> OK,
> A little off topic, but this is stopping me upgrading the JVM 
> that Tomcat
> uses.
> 
> I have a serialzed class that was written out using the old 
> 1.1.6 JVM.  I
> now need to read it in using the 1.3 JVM.  However if I try 
> to do so I get:
> 
> #
> # An EXCEPTION_STACK_OVERFLOW exception has been detected in 
> native code
> outside
>  the VM.
> # Program counter=0x77e848dd
> #
> #
> 
> Is there a solution to this ?  Is there a better place to ask.  I've
> search javasoft but to no avail.  I am a bit stuck at present !
> 
> Andy C
> Editor The R2 Project
> http://www.r2-dvd.org
> 
> 

Reply via email to