From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20153 invoked by alias); 8 Jun 2002 19:52:55 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 20146 invoked from network); 8 Jun 2002 19:52:54 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 8 Jun 2002 19:52:54 -0000 Received: from slip-12-65-114-86.mis.prserv.net (vpn3-4.sfbay.redhat.com [172.16.25.4]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g58JoOv21265; Sat, 8 Jun 2002 12:50:26 -0700 Subject: Re: serialization problem with tomcat with gcj From: Anthony Green To: Christophe Roux Cc: rhug-rhats@sources.redhat.com In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 08 Jun 2002 12:52:00 -0000 Message-Id: <1023566001.2060.4.camel@dhcppc2> Mime-Version: 1.0 X-SW-Source: 2002-06/txt/msg00000.txt.bz2 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