ICEfaces
  1. ICEfaces
  2. ICE-2942

Initial asynchronous updates take too long on short server-side interactions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1, 1.7RC1
    • Fix Version/s: 1.7.1
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 1.7Beta-1,
      Facelets,
      Tomcat 5.5,
      IE6 & Firefox 2.0

      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.

        Activity

        Michael Thiem created issue -
        Hide
        Michael Thiem added a comment -

        demo application source code

        Show
        Michael Thiem added a comment - demo application source code
        Michael Thiem made changes -
        Field Original Value New Value
        Attachment Test_AjaxPush.zip [ 10905 ]
        Hide
        Michael Thiem added a comment -

        demo application, tested on Tomcat 5.5.23

        Show
        Michael Thiem added a comment - demo application, tested on Tomcat 5.5.23
        Michael Thiem made changes -
        Attachment Test_AjaxPush.war [ 10906 ]
        Michael Thiem made changes -
        Ken Fyten made changes -
        Assignee Michael Thiem [ michael.thiem ]
        Hide
        Michael Thiem added a comment -

        This issue doesn't occur anymore in 1.7.0

        Show
        Michael Thiem added a comment - This issue doesn't occur anymore in 1.7.0
        Michael Thiem made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Michael Thiem made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        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 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mircea Toma [ mircea.toma ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Thiem
          • Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: