Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 41303 invoked from network); 3 Jul 2008 14:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2008 14:39:22 -0000 Received: (qmail 98646 invoked by uid 500); 3 Jul 2008 14:38:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98624 invoked by uid 500); 3 Jul 2008 14:38: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 98613 invoked by uid 99); 3 Jul 2008 14:38:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 07:38:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [196.25.240.86] (HELO ctb-mesg-2-1.saix.net) (196.25.240.86) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2008 14:37:54 +0000 Received: from animal (dsl-243-96-236.telkomadsl.co.za [41.243.96.236]) by ctb-mesg-2-1.saix.net (Postfix) with SMTP id 25FBE11B64 for ; Thu, 3 Jul 2008 16:37:25 +0200 (SAST) Message-ID: <004601c8dd1a$61488550$0300000a@animal> From: "Johnny Kewl" To: "Tomcat Users List" References: Subject: Re: How do I do this with Tomcat? Date: Thu, 3 Jul 2008 16:37:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080602-0, 2008/06/02), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Dhanisworo Dhanisworo" To: "Tomcat Users List" Sent: Thursday, July 03, 2008 11:16 AM Subject: How do I do this with Tomcat? > Hi all > regarding the problem I've posted before about IE showing balnk page, > I've > found this article on how to deal with this issue. > http://qfox.nl/index.php?a=1&l=186&t=1 > which said > "Now I know all of that is old IE 6 crap. In fact, I dismissed the page > the > first time. But the second reply below contains a .htaccess line I > eventually ended up testing. And ... it worked. Low and behold, the > problem > seemed to have disappeared (which is the problem with irradic bugs, you > don't know whether you fixed it or moved it). > > Anyways, after that I found something on Apache about keepalive and POST > and > how a POST request should not receive any more data after it's done. Well > I > figured it out. IE was sending a keepalive header (even though I was > explicitly telling ajax to disable keepalive) and screwing it up in the > process. Apache waits for 90 seconds then timeouts and just decides to > proceed and discard all of the POST data. Apparantly my server is more > sensitive to this problem than my previous one. > > This is my sollution: > > SetEnv nokeepalive > > > This will disable keepalive for any POST request, but not change it for > GETS > or whatever (which is not a problem because you're meant to close POST > requests anyways). > " > > The problem ishow I do it with Tomcat ? > Can anybody help me ? > Thank you in advance. > > > best regards,Dyan Dylan.... what is the actual problem? Are you using Ajax? Anyway... you set tomcats keep alive stuff in the connector... maxKeepAliveRequests... but its a connector.... so I think its 'all' off or on. I would try a few other things as well.... The page that is sent to the browser, make it http/1.0 Set close connection header And then in your Ajax post make sure you do the same... with the headers... content type, content length, close connection... and hopefully it uses the pages http/1.0 I would even try setup GWT for a POST and see the ajax it makes... its supposed to work on any browser. I have not seen this issue on IE, and I'm a little dubious because Ajax is just so damn tricky to begin with. On tomcat, assuming you dont have apache in front of it... I think the keep alives are off or on... and controlled thru http headers as stated. Otherwise the kludge above which is Apache???? I guess... could be used with TC on JK... maybe. Got to tell you... vague question ;) Have fun... --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org