Hi Jim, I am most concerned with the first type of failure, where the client has a problem with the network connection, but the server is still running properly. What I did was take your modified amq.js (from link in my previous message) and then added the following to line 111 in pollErrorHandler() :
setTimeout(function() { sendPoll(); }, pollErrorDelay); That seems to work well enough, but then I am very new to the whole AJAX thing, and there is probably a better way. I was hoping that some sort of retry logic would make it into the head so that I can use the standard javascript files (makes maintenance a lot easier). --Dan On 10/13/07, chago <[EMAIL PROTECTED]> wrote: > One is when the webserver closes the connection due to restart or network > problem. In this case, the assumption is that the ActiveMQ server is still > running properly and the connection between the browser and the servlet > needs to be reestablished. Since the client discovers the disconnect when