activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jule <>
Subject AJAX: Error occurred in poll. HTTP result: 200, status: parsererror
Date Thu, 30 Sep 2010 21:53:40 GMT


I see the following log message if a poll times out and an empty response is

Error occurred in poll. HTTP result: 200, status: parsererror ----->

Investigating this with the JS debugging tools shows the brokers response:
xhr.responseText: "<ajax-response> </ajax-response> "
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´t be the solution: If the broker or the connection goes down,
this configuration will lead to a client trying to poll as fast as it can
(you´ll have thousands of tries within seconds). 

Is this a known issue? Does anybody see the same?

Best regards
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message