Hi, I implemented reverse ajax component that uses long polling technique. Basically what I did was to use JQuery's jQuery.getJSON(...) method to make an ajax call using an action event URL of the component. The action event on the component spawns another event(using resourse.triggerEvent()) which is handled by the page that holds the component. The event handler in the page waits for the relevant data to be available and when it is available return a block for displaying the data. The Block returned by the event handler is wrapped in a JSON object and returned. The call back method given in jQuery.getJSON(...) will render the returned block within a zone and then make the ajax call again.
This seems to be working fine if the web page is used for a short period of time but if there are couple of pages opened and they are idle for sometime, I get a page pool exhausted exception. I can adjust tapestry.page-pool.hard-limit but that will only delay the error for sometime but eventually the page pool will be exhausted. There is a delay of 3 sec for the callback method to invoke the ajax call after getting back the result. Is there anything inherent in the tapestry framework that would prevent reverse ajax from or working or am I doing something wrong? BTW I am using Tapestry 5.0.1 with tomcat 6.0. Any help is much appreciated. Regards Rajesh Sukumaran --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org