ICEfaces
  1. ICEfaces
  2. ICE-3824

Client should retry application on 500 error responses

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces + Apache or AHS
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The latest version of Apache immediately sends back a 500 error when requests are received in the midst of failover or from the AHS server when it handles server side exceptions
      This is potentially better than having the connection hang and go unanswered, but the current handling of this error condition shuts down the bridge.

      We'd like to adopt the strategy of reloading the page once or twice in the case of these errors. There are a couple of considerations. On graceful shutdown of a node, all of the blocking connections will be released nearly simultaneously and the reloads from all of the servers should potentially be spread out over an interval. No attempt should be made before Apache is willing to receive them or this will start looping, which in the case of 2.2.10, is greater than 2.5 seconds, but somewhere less than 5. Configurable by the user might be nice as well.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17953 Tue Dec 02 15:29:01 MST 2008 mircea.toma ICE-3837 Try to re-establish blocking connection on received 500 errors. Revert fixes for ICE-3824.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17949 Mon Dec 01 14:45:02 MST 2008 mircea.toma ICE-3824 Introduce "com.icesoft.faces.serverErrorRetryTimeouts" context parameter to configure retry number and wait intervals.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17948 Mon Dec 01 12:57:53 MST 2008 mircea.toma ICE-3824 Implement reload strategy on received server errors -- first cut.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/ajax.js

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: