Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65277 invoked from network); 2 Jan 2006 17:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jan 2006 17:21:01 -0000 Received: (qmail 65978 invoked by uid 500); 2 Jan 2006 17:20:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64982 invoked by uid 500); 2 Jan 2006 17:20:47 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 64971 invoked by uid 99); 2 Jan 2006 17:20:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 09:20:47 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [193.252.22.157] (HELO smtp2.freeserve.com) (193.252.22.157) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2006 09:20:45 -0800 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3116.me.freeserve.com (SMTP Server) with ESMTP id B35873400090 for ; Mon, 2 Jan 2006 18:20:23 +0100 (CET) Received: from [192.168.0.2] (user-3436.l4.c1.dsl.pol.co.uk [81.77.237.108]) by mwinf3116.me.freeserve.com (SMTP Server) with ESMTP id 86F2E340008E for ; Mon, 2 Jan 2006 18:20:23 +0100 (CET) X-ME-UUID: 20060102172023553.86F2E340008E@mwinf3116.me.freeserve.com Message-ID: <43B960D8.4040800@apache.org> Date: Mon, 02 Jan 2006 17:20:24 +0000 From: Mark Thomas User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: encoding problem with tomcat References: In-Reply-To: X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can you provide the smallest possible servlet/JSP that doesn't work? At a guess running in debug mode is fixing/working around some other issue that is the root cause of the problem. Mark Ron Piterman wrote: > now also when both are using the symlink at /home/ron/tomcat, running > tomcat in normal mode (without debugging) gives me wrong encoding... > ? > > Ron Piterman wrote: > >> Here are both commands, as listed by ps (i broke them to make reading >> easier): >> >> >> >> first the normal tomcat: >> >> >> >> /usr/java/jre/bin/java >> >> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >> -Djava.util.logging.config.file=/usr/java/tomcat/conf/logging.properties >> -Djava.endorsed.dirs=/usr/java/tomcat/common/endorsed >> -classpath >> :/usr/java/tomcat/bin/bootstrap.jar >> :/usr/java/tomcat/bin/commons-logging-api.jar >> -Dcatalina.base=/usr/java/tomcat >> -Dcatalina.home=/usr/java/tomcat >> -Djava.io.tmpdir=/usr/java/tomcat/temp >> org.apache.catalina.startup.Bootstrap >> start >> >> >> then in debug mode: >> >> >> >> /usr/java/jre/bin/java >> >> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >> -Djava.util.logging.config.file=/home/ron/tomcat/conf/logging.properties >> -Xdebug >> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n >> -Djava.endorsed.dirs=/home/ron/tomcat/common/endorsed >> -classpath >> :/home/ron/tomcat/bin/bootstrap.jar >> :/home/ron/tomcat/bin/commons-logging-api.jar >> -Dcatalina.base=/home/ron/tomcat >> -Dcatalina.home=/home/ron/tomcat >> -Djava.io.tmpdir=/home/ron/tomcat/temp >> org.apache.catalina.startup.Bootstrap start >> >> --- >> >> Now the only difference seems to be in the catalina.home and >> catalina.base parameters - >> >> /home/ron/tomcat is a symlink to /usr/java/tomcat/ >> >> why should that make a difference ? >> >> will try to change that and see what happens... >> (will be back after the commercials :) ) >> >> Cheers, >> Ron >> >> >> Ron Piterman wrote: >> >>> Hi all, >>> I have this strange encoding problem with tomcat 5.5.12 serving >>> tapestry pages: >>> >>> when I start tomcat using the startup.sh script, my tapestry pages are >>> served with something wrong along the encoding pipeline, so some >>> "special" characters like � or � are encoded wrong. >>> >>> when I start tomcat using the catalina.sh in debug mode, everything is >>> fine - >>> >>> does someone have a clue of what or where the problem might be? >>> >>> Cheers, >>> Ron > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org