Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90563 invoked from network); 3 Mar 2009 11:31:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 11:31:04 -0000 Received: (qmail 94834 invoked by uid 500); 3 Mar 2009 11:30:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 94806 invoked by uid 500); 3 Mar 2009 11:30:53 -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 94795 invoked by uid 99); 3 Mar 2009 11:30:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 03:30:52 -0800 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 [195.121.247.25] (HELO psmtp13.wxs.nl) (195.121.247.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 11:30:45 +0000 Received: from mail-in.ebuddy.com (mail-in.ebuddy.com [194.151.176.130]) by psmtp13.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0KFX00M17HAJSQ@psmtp13.wxs.nl> for users@tomcat.apache.org; Tue, 03 Mar 2009 12:30:19 +0100 (MET) Received: from [192.168.4.104] ([192.168.4.104]) by mail-in.ebuddy.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 03 Mar 2009 12:30:19 +0100 Date: Tue, 03 Mar 2009 12:28:29 +0100 From: Taylan Develioglu Subject: tomcat w/apr data lost in http post request? To: Tomcat Users List Message-id: <49AD145D.5020206@ebuddy.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.19 (X11/20090102) X-OriginalArrivalTime: 03 Mar 2009 11:30:19.0437 (UTC) FILETIME=[6EC285D0:01C99BF3] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm having an issue where the payload from http POST requests is lost. This happens when using the APR connector, although sometimes it happens with NIO too (but much less frequently). Http headers are there, but the actual payload is missing (or at least isn't reaching our application, but we don't think that's the issue) The requests are polls to check for new events that have arrived and are made by a javascript application (ajax). example of a request where the payload is missing: HTTP Request: Session ID: A8F08DF4A71C7F6356DF10185D33195B Path:/dispatch Query String:null HTTP Headers: content-type:application/x-www-form-urlencoded; charset=UTF-8 accept-language:nl-be referer:http://**** accept:text/javascript, text/html, application/xml, text/xml, */* ua-cpu:x86 accept-encoding:gzip, deflate user-agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.2) host:***** content-length:77 connection:Keep-Alive cache-control:no-cache cookie:mwc=0001236073658.353048.5; language=en-GB; Emessenger=msn; network=MSN; msn_uname=****@hotmail.com; eBuddyOberon.com=-; tarid=1%3A0%3B2%3A99; JSESSIONID=A8F08DF4A71C7F6356DF10185D33195B; __utma=1.1241670603699218000.1236073710.1236073710.1236073710.1; __utmc=1; __utmz=1.1236073710.1.1.utmcsr=ebuddy.com|utmccn=(referral)|utmcmd=referral|utmcct=/ HTTP Parameters: The content-length is set by the browser, but the payload's gone (it should be logged after HTTP Parameters:) Normally the application logs data from the payload after the 'HTTP Parameters' bit like this: HTTP Request: Session ID: A8F08DF4A71C7F6356DF10185D33195B Path:/dispatch Query String:null HTTP Headers: content-type:application/x-www-form-urlencoded; charset=UTF-8 accept-language:nl-be referer:http://**** accept:text/javascript, text/html, application/xml, text/xml, */* ua-cpu:x86 accept-encoding:gzip, deflate user-agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 1.1.4322; InfoPath.2) host:**** content-length:77 connection:Keep-Alive cache-control:no-cache cookie:mwc=0001236073658.353048.5; language=en-GB; Emessenger=msn; network=MSN; msn_uname=****@hotmail.com; eBuddyOberon.com=-; tarid=1%3A0%3B2%3A99; JSESSIONID= A8F08DF4A71C7F6356DF10185D33195B; __utma=1.1241670603699218000.1236073710.1236073710.1236073710.1; __utmc=1; __utmz=1.1236073710.1.1.utmcsr=ebuddy.com|utmccn=(referr al)|utmcmd=referral|utmcct=/ HTTP Parameters: e_max:100 e_format:short e_timeout:2000 e_action:poll _: e_time:1236077940847 These requests are not redirects btw. Are there any known issues with the apr connector that can cause something like this ? Could it be socket buffer related? Any pointers or ideas what could be causing this would be welcome. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org