ICEfaces
  1. ICEfaces
  2. ICE-4834

"... views have accumulated updates" gets logged quite extensively in synchronousMode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces Core, ICEfaces.org

      Description

      These seem to be logged quite extensively:

      ...
      2009-08-11 13:44:03,324 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [1] views have accumulated updates
      2009-08-11 13:44:03,326 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [3] views have accumulated updates
      2009-08-11 13:44:03,326 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [2] views have accumulated updates
      2009-08-11 13:44:03,326 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [1] views have accumulated updates
      2009-08-11 13:44:13,328 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [2] views have accumulated updates
      2009-08-11 13:44:13,328 WARN  [com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet] [8] views have accumulated updates
      ...

      However, ICEfaces.org uses synchronousMode, so should this even occur?

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Ken Fyten made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Salesforce Case []
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Deryk Sinotte added a comment -

        I've changed the logging level for this message to debug (from warn) to more accurately reflect the nature of the state being reported.

        Show
        Deryk Sinotte added a comment - I've changed the logging level for this message to debug (from warn) to more accurately reflect the nature of the state being reported.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19236 Wed Sep 09 09:22:26 MDT 2009 deryk.sinotte ICE-4834: Set "views have accumulated updates" message to debug level rather than warn
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
        Mircea Toma made changes -
        Assignee Mircea Toma [ mircea.toma ] Deryk Sinotte [ deryk.sinotte ]
        Hide
        Mircea Toma added a comment -

        > 1. Get rid of the drainUpdatedViews logic.

        I would leave it in place to avoid memory leaks.

        > 2. Be considerate of the synchronous mode when adding commands to the queue that can cause view
        > numbers to be added to the allServedViews, which only seems to need to be used in asynchronous
        > mode.

        It is true that 'session-expired' command is put into the update queue regardless of the sync/async mode but it is useful in both cases. When the session expires in synchronous mode the user is notified about it next time is interacting with the application.

        > 3. Log a warning message when a synchronous ICEfaces application tries to initiate a Server Push
        > (if not already done so), preferably as early as possible.

        The warning message is logged synchronous ICEfaces application tries to initiate a Server Push (see PersistentFacesState.warnIfSynchronous method usages).

        In conclusion I believe that just removing "... views have accumulated updates" log message to get rid of the noise is the right solution.

        Show
        Mircea Toma added a comment - > 1. Get rid of the drainUpdatedViews logic. I would leave it in place to avoid memory leaks. > 2. Be considerate of the synchronous mode when adding commands to the queue that can cause view > numbers to be added to the allServedViews, which only seems to need to be used in asynchronous > mode. It is true that 'session-expired' command is put into the update queue regardless of the sync/async mode but it is useful in both cases. When the session expires in synchronous mode the user is notified about it next time is interacting with the application. > 3. Log a warning message when a synchronous ICEfaces application tries to initiate a Server Push > (if not already done so), preferably as early as possible. The warning message is logged synchronous ICEfaces application tries to initiate a Server Push (see PersistentFacesState.warnIfSynchronous method usages). In conclusion I believe that just removing "... views have accumulated updates" log message to get rid of the noise is the right solution.
        Deryk Sinotte made changes -
        Assignee Deryk Sinotte [ deryk.sinotte ] Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Deryk Sinotte [ deryk.sinotte ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Jack Van Ooststroom made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.2 [ 10190 ]
        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 created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: