Details
Description
Use case demonstrated by attached demo application. Steps to reproduce:
1. Deploy application to Tomcat 5
2. Open application in IE6 or Firefox 2.0
3. There will appear an outputText saying 'Please wait...' and a commandButton
Right when the application is started a custom Thread is executed in the background (which simulates a server-side action). After a certain period of time the
Renderable bean's requestRender method is called (Thread's sleep time is set to 10 ms) in order to send an update to the client. This can be adjusted in
TestWindowHandler.java
4. It now takes up to 20 sec until the update is sent to the client, even though the Thread's sleep time is set to 10 ms.
5. Change the sleep time to i.e. 3000
6. The initial update will be sent to the client at the correct time
Note that in firebug "block/receive-update-views" is waiting for about 10-20 sec and an update is first received by the following request.
1. Deploy application to Tomcat 5
2. Open application in IE6 or Firefox 2.0
3. There will appear an outputText saying 'Please wait...' and a commandButton
Right when the application is started a custom Thread is executed in the background (which simulates a server-side action). After a certain period of time the
Renderable bean's requestRender method is called (Thread's sleep time is set to 10 ms) in order to send an update to the client. This can be adjusted in
TestWindowHandler.java
4. It now takes up to 20 sec until the update is sent to the client, even though the Thread's sleep time is set to 10 ms.
5. Change the sleep time to i.e. 3000
6. The initial update will be sent to the client at the correct time
Note that in firebug "block/receive-update-views" is waiting for about 10-20 sec and an update is first received by the following request.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | Test_AjaxPush.zip [ 10905 ] |
Attachment | Test_AjaxPush.war [ 10906 ] |
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4741 |
Assignee | Michael Thiem [ michael.thiem ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 1.7 [ 10080 ] |
Fix Version/s | 1.7.1 [ 10122 ] | |
Fix Version/s | 1.7 [ 10080 ] | |
Assignee Priority | P1 | |
Assignee | Michael Thiem [ michael.thiem ] | Mircea Toma [ mircea.toma ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 | |
Assignee | Mircea Toma [ mircea.toma ] |