Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 6451 invoked from network); 30 Sep 2010 21:54:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 21:54:07 -0000 Received: (qmail 78088 invoked by uid 500); 30 Sep 2010 21:54:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78058 invoked by uid 500); 30 Sep 2010 21:54:06 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 78050 invoked by uid 99); 30 Sep 2010 21:54:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 21:54:06 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.158 is neither permitted nor denied by domain of julian.quindt@gmail.com) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 21:54:01 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1P1R4O-00026u-Id for users@activemq.apache.org; Thu, 30 Sep 2010 14:53:40 -0700 Date: Thu, 30 Sep 2010 14:53:40 -0700 (PDT) From: jule To: users@activemq.apache.org Message-ID: <1285883620571-2764553.post@n4.nabble.com> Subject: AJAX: Error occurred in poll. HTTP result: 200, status: parsererror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I see the following log message if a poll times out and an empty response i= s received: Error occurred in poll. HTTP result: 200, status: parsererror -----> amq_jquery_adapter.js:94 Investigating this with the JS debugging tools shows the brokers response: xhr.responseText: " " xhr.responseXML: null The log entry itself would not be a problem, but the default behaviour of the amq.js is: It will wait for 5 seconds until it does the next poll. This is perfectly fine in case of server-side congestion issues but it will lead to a client not receiving messages for 5 seconds after each poll. I overcame this issue by setting the 5 seconds error timeout to 0 seconds but that can=C2=B4t be the solution: If the broker or the connection goes d= own, this configuration will lead to a client trying to poll as fast as it can (you=C2=B4ll have thousands of tries within seconds).=20 Is this a known issue? Does anybody see the same? Best regards --=20 View this message in context: http://activemq.2283324.n4.nabble.com/AJAX-Er= ror-occurred-in-poll-HTTP-result-200-status-parsererror-tp2764553p2764553.h= tml Sent from the ActiveMQ - User mailing list archive at Nabble.com.