This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: serialization problem with tomcat with gcj
- From: Anthony Green <green at redhat dot com>
- To: Christophe Roux <ch_roux at club-internet dot fr>
- Cc: rhug-rhats at sources dot redhat dot com
- Date: 08 Jun 2002 12:53:16 -0700
- Subject: Re: serialization problem with tomcat with gcj
- References: <E17Glex-00087J-00@smarthost2.mail.easynet.fr>
Hi Christophe,
I suspect a bug in gcj's serialization implementation. Would it be
possible for you to try and reproduce the bug with a stand-alone program
which serializes/deserializes the same data? This might be easier to
debug. If you can reproduce this, then I suggest filing a bug with the
`gccbug' program.
Thanks,
AG
On Sat, 2002-06-08 at 12:15, Christophe Roux wrote:
> I try to port a java set of servlet from jdk1.2 / tomcat-2.3.2 to gcj
> (gcc-3.1) with tomcat-3.2.3 from rhug.
> I met a problem with object deserialization as transmitting data from a first
> servlet to a second one with a POST request.
> I build a scenario to reproduce my problem simply (tgz joined).
> I put flags in the second servlet to see where tomcat stops (I have no
> stack-trace and the servlet never hands back).
> The servlet stops on the instruction which create an ObjectInputStream from
> the servlet InputStream (before flag "POST2").
> I build gcc and rhug/jakarta-tomcat with UTF-8 encoding.
> But I build my program with ISO-8859-1 encoding for my program, as I use
> french accents in my strings.
> If you need anything more to investigate, or if you think I should contact
> someone in charge of gcj, tell me.
> Thanks a lot.
> Christophe Roux