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

        Hide
        Michael Thiem added a comment -

        demo application source code

        Show
        Michael Thiem added a comment - demo application source code
        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
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: