ICEfaces
  1. ICEfaces
  2. ICE-4987

IE freezes of connection limitation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      IE6 IE7

      Description

      IE browser has by default a connection limitation of 2 connections at time.
      The push mechanism (long pooling) already blocks one of these lines while the other one is often reserved for the regular communication.
      This invokes a freeze of the browser (also the window itself).
      After a while (like timeout of the connection) the browser retrieves a response and the user can work again.

      With FF no problem happens (no connection limitation).

      I have found an ugly workaround by setting in the registry the maximal connection limitation on 16.
      The problem seems to disappear. But I can't tell our customer to do that hack.

      If I set ...

      <context-param>
          <param-name>com.icesoft.faces.synchronousUpdate</param-name>
          <param-value>true</param-value>
      </context-param>

      ... it works fine.

        Activity

        Hide
        Ken Fyten added a comment -

        Multiple applications being run?
        Multiple windows/tabs pointing at the application(s)?
        Push Server being used?

        If it's easy for you to do, it might be worthwhile to have a quick run with 1.8.2 to see if any fixes in there help.

        Show
        Ken Fyten added a comment - Multiple applications being run? Multiple windows/tabs pointing at the application(s)? Push Server being used? If it's easy for you to do, it might be worthwhile to have a quick run with 1.8.2 to see if any fixes in there help.
        Hide
        Deryk Sinotte added a comment -

        Does the freeze occur during interaction with UI? Does that interaction contain a long running process of some kind? Any application process on the server that blocks the UI connection for too long should probably be factored so that the the updates are sent back using Ajax Push so that the UI connection is not held too long. With IE and its connection limit, this would manifest in the way described.

        Show
        Deryk Sinotte added a comment - Does the freeze occur during interaction with UI? Does that interaction contain a long running process of some kind? Any application process on the server that blocks the UI connection for too long should probably be factored so that the the updates are sent back using Ajax Push so that the UI connection is not held too long. With IE and its connection limit, this would manifest in the way described.
        Hide
        Julien Studzinski added a comment - - edited

        i have setup the push-server and it works fine.

        after analysing the state befor and after i found differences in the js-variable configuration.
        i think the construct is wrong in mode without push-server and it send the request somewhere wrong.
        it should be something like
        ...
        connection: {
        context:

        { current: '/invoicereporting/' }

        ,
        ...

        please look at the code-snips from the page in the attachment (with and without push-server).

        Show
        Julien Studzinski added a comment - - edited i have setup the push-server and it works fine. after analysing the state befor and after i found differences in the js-variable configuration. i think the construct is wrong in mode without push-server and it send the request somewhere wrong. it should be something like ... connection: { context: { current: '/invoicereporting/' } , ... please look at the code-snips from the page in the attachment (with and without push-server).
        Hide
        Mircea Toma added a comment -

        It seems that the JS configuration for the deployment without push-server was cached by the browser. The configuration for 1.8.2 release should look like the one in the deployment with push-server.

        Show
        Mircea Toma added a comment - It seems that the JS configuration for the deployment without push-server was cached by the browser. The configuration for 1.8.2 release should look like the one in the deployment with push-server.
        Hide
        Werner Mueller added a comment -

        hello

        it looks like the js configuration is still different but the handling of the configuration changed in 1.8.2
        the freeze itself seems to be gone with the new version even without the push server.

        Show
        Werner Mueller added a comment - hello it looks like the js configuration is still different but the handling of the configuration changed in 1.8.2 the freeze itself seems to be gone with the new version even without the push server.
        Hide
        Mircea Toma added a comment -

        This issue never showed up in our tests. Even if this is used to be real issue in 1.8.1 it seems to be gone in 1.8.2. Closing this issue for now.

        Show
        Mircea Toma added a comment - This issue never showed up in our tests. Even if this is used to be real issue in 1.8.1 it seems to be gone in 1.8.2. Closing this issue for now.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Julien Studzinski
          • Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: