ICEfaces
  1. ICEfaces
  2. ICE-4707

Add a blocking connection timeout mechanism to Push Server

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces Push Server

      Description

      A blocking connection timeout mechanism should be added to the Push Server, just like the Core, in order to release potential hanging connections in a more timely fashion. A possible scenario is when a browser crashes or gets killed a dispose-views is not send and the Push Server will not send any pongs as pings aren't being received anymore by the Core. If there are no Server Push updates, the pending blocking request will sit there until Session timeout occurs.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19061 Tue Jul 14 17:29:24 MDT 2009 jack.van.ooststroom Fixed JIRA ICE-4707 : Add a blocking connection timeout mechanism to Push Server
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/push-server/src/org/icefaces/push/server/ReceiveUpdatedViewsHandler.java
        Commit graph MODIFY /icefaces/trunk/icefaces/push-server/src/org/icefaces/push/server/PushServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/push-server/src/org/icefaces/push/server/SessionBoundServlet.java
        Jack Van Ooststroom created issue -
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Assignee Jack Van Ooststroom [ jack.van.ooststroom ]
        Jack Van Ooststroom made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Jack Van Ooststroom added a comment -

        Changed Fix Version(s) to 1.8.2

        Show
        Jack Van Ooststroom added a comment - Changed Fix Version(s) to 1.8.2
        Jack Van Ooststroom made changes -
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        Hide
        Jack Van Ooststroom added a comment -

        Just like the Core, the Push Server now has the Blocking Connection Timeout feature as well. It defaults to 90 seconds, but is configurable in the same way by setting the com.icesoft.faces.blockingConnectionTimeout (value is in milliseconds). When a blocking request is parked, a task is scheduled to be executed after the timeout occurs. This task will respond to the blocking connection with a Noop. If a response is send back before the timeout should occur, the task is canceled. Marking this one as FIXED.

        Show
        Jack Van Ooststroom added a comment - Just like the Core, the Push Server now has the Blocking Connection Timeout feature as well. It defaults to 90 seconds, but is configurable in the same way by setting the com.icesoft.faces.blockingConnectionTimeout (value is in milliseconds). When a blocking request is parked, a task is scheduled to be executed after the timeout occurs. This task will respond to the blocking connection with a Noop. If a response is send back before the timeout should occur, the task is canceled. Marking this one as FIXED.
        Jack Van Ooststroom made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Issue Type New Feature [ 2 ] Improvement [ 4 ]
        Salesforce Case []
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Jack Van Ooststroom
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: