ICEpush
  1. ICEpush
  2. PUSH-117

Avoid shutting down blocking connection during fail-over

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0.1
    • Component/s: Push Library
    • Labels:
      None
    • Environment:
      server

      Description

      To avoid shutting down the blocking connection cycle during fail-over (by sending X-Connection=Close header) ICEpush needs to have the option of configuring the MainServlet so that only a NOOP message is sent back.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #23841 Tue Jan 25 10:16:50 MST 2011 mircea.toma PUSH-117 Introduce configuration parameter that changes the type of blocking connection response sent during shutdown/fail-over.
        Files Changed
        Commit graph MODIFY /icepush/trunk/core/src/main/java/org/icepush/BlockingConnectionServer.java
        Commit graph MODIFY /icepush/trunk/core/src/main/java/org/icepush/servlet/MainServlet.java
        Commit graph MODIFY /icepush/trunk/core/src/main/java/org/icepush/servlet/BrowserBoundServlet.java
        Mircea Toma created issue -
        Hide
        Mircea Toma added a comment -

        Introduced MainServlet configuration parameter that changes the type of blocking connection response sent during shutdown/fail-over. By setting 'terminateBlockingConnectionOnShutdown' parameter to false the response sent during shutdown/fail-over is NOOP (instead of X-Connection=Close response type).

        Show
        Mircea Toma added a comment - Introduced MainServlet configuration parameter that changes the type of blocking connection response sent during shutdown/fail-over. By setting 'terminateBlockingConnectionOnShutdown' parameter to false the response sent during shutdown/fail-over is NOOP (instead of X-Connection=Close response type).
        Mircea Toma made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Fix Version/s 2.0-Beta [ 10232 ]
        Hide
        Jack Van Ooststroom added a comment -

        I changed the EPS' ICEpushServlet to instantiate the MainServlet with the terminateBlockingConnectionOnShutdown parameter set to false and successfully tested it in a Tomcat 6.0.30 clustered environment using fail-over.

        Show
        Jack Van Ooststroom added a comment - I changed the EPS' ICEpushServlet to instantiate the MainServlet with the terminateBlockingConnectionOnShutdown parameter set to false and successfully tested it in a Tomcat 6.0.30 clustered environment using fail-over.
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0.1 [ 10258 ]
        Fix Version/s 2.0-Beta [ 10232 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: