tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Newman" <sam.new...@stamplets.com>
Subject Re: Serialization problem between JVM 1.1.6 and 1.3
Date Thu, 19 Apr 2001 12:13:02 GMT
Serialization is only really meant for short term storage, e.g. for
transmition over the network or between java pcoesses via RMI. Its possible
that the class youe serializing contains classes whose implementation is
based partly on native code, which may of changed between the two JVM's.The
only solution I guess is try load the file in a jdk1.1.6 program, export it
to some independant format (XML, CSV file) and then load it with a 1.3
program. I've spent the last month or so removing the use of serialization
from our code as it causes too many problems. Instead we've replaced it with
XML. Jdk 1.4 will include a mechanism for serializing using XML.

sam
----- Original Message -----
From: "Andy C" <andy@r2-dvd.org>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 19, 2001 12:20 PM
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
>
>


Mime
View raw message