ICEfaces
  1. ICEfaces
  2. ICE-10500

auction - push updates not being shut off

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P04
    • Component/s: Bridge, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk revision# 44061
      Server: tomcat7
      Browser: all
      JSF: Myfaces v. 2.2.7
    • Assignee Priority:
      P1

      Description

      auction (all browsers/MyFaces specific):
      if leaving the application open in a browser, and the .war file is uninstalled from the server, a browser console error starts being logged every second:

      [window] [Tue, 17 Feb 2015 17:56:17 GMT] Error [status: malformedXML code: 404]: undefined
      <html><head><title>Apache Tomcat/7.0.42 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /auction/auction.jsf</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/auction/auction.jsf</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" nosha

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44105 Mon Feb 23 16:58:38 MST 2015 mircea.toma ICE-10500 Modified 'submitErrorBroadcaster' function to invoke network error listeners when the JSF bridge sets the 'malformedXML' status for the communication error.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/application.js
        Hide
        Mircea Toma added a comment -

        Modified submitErrorBroadcaster function to invoke network error listeners when the JSF bridge sets the 'malformedXML' as the status for the communication error. Mojarra sets the status to 'httpError' when a 404 is received.

        Show
        Mircea Toma added a comment - Modified submitErrorBroadcaster function to invoke network error listeners when the JSF bridge sets the 'malformedXML' as the status for the communication error. Mojarra sets the status to 'httpError' when a 404 is received.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment -

        r44109: verified in IE11, FF34, Chrome40.

        Show
        Carmen Cristurean added a comment - r44109: verified in IE11, FF34, Chrome40.
        Hide
        Ken Fyten added a comment -

        QA has determined that this issue still exists:

        This can be reproduced by leaving the auction application open in a browser (Firefox), and undeploying the .war file from the server.
        After the error 404 is seen, there are info logs that continue to be written to the browser console every 10 seconds; these logs continue to be seen also after stopping the server:

        [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] request confirmation: 1i6s60qgc:3kjk
        bridge-..._150301 (line 1812)
        [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] send confirmation: 1i6s60qgc:3kjk,1i6s60qgc:3kjk
        bridge-..._150301 (line 1812)
        [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] received confirmation: 1i6s60qgc:3kjk,1i6s60qgc:3kjk
        bridge-..._150301 (line 1812)
        Show
        Ken Fyten added a comment - QA has determined that this issue still exists: This can be reproduced by leaving the auction application open in a browser (Firefox), and undeploying the .war file from the server. After the error 404 is seen, there are info logs that continue to be written to the browser console every 10 seconds; these logs continue to be seen also after stopping the server: [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] request confirmation: 1i6s60qgc:3kjk bridge-..._150301 (line 1812) [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] send confirmation: 1i6s60qgc:3kjk,1i6s60qgc:3kjk bridge-..._150301 (line 1812) [icepush.36cc8.pushid-expiry] [Mon, 02 Mar 2015 18:18:35 GMT] received confirmation: 1i6s60qgc:3kjk,1i6s60qgc:3kjk bridge-..._150301 (line 1812)
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Hide
        Liana Munroe added a comment -

        The browser console continually logs when leaving the showcase progressBar > push demo inactive for a short period of time. Not myfaces specific.

        Show
        Liana Munroe added a comment - The browser console continually logs when leaving the showcase progressBar > push demo inactive for a short period of time. Not myfaces specific.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44146 Mon Mar 02 16:54:17 MST 2015 mircea.toma ICE-10500 Un-register the pushIDs that belong to the window that received the network, server or session expiration error to disable the ICEpush bridge blocking connection and pushID expiry checks.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/application.js
        Hide
        Mircea Toma added a comment -

        Un-register the pushIDs that belong to the window that received the network, server or session expiration error to disable the ICEpush bridge blocking connection and pushID expiry checks.

        Show
        Mircea Toma added a comment - Un-register the pushIDs that belong to the window that received the network, server or session expiration error to disable the ICEpush bridge blocking connection and pushID expiry checks.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment - - edited

        Tested with ICEfaces 4 trunk r44152. The issue has been resolved for auction but still occurs with the showcase demo. See below, the server is stopped but the logging continues. NOT myfaces specific.

        [icepush.5e558.async-connection] [Tue, 03 Mar 2015 16:48:09 GMT] blocking connection stopped at server's request...
        bridge-..._150303 (line 1812)
        [icepush.5e558.async-connection] [Tue, 03 Mar 2015 16:48:09 GMT] shutdown
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] send confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] received confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] send confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] received confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] send confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] received confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] send confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] received confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] send confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] received confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:49:06 GMT] request confirmation: 1i6tj1pxf:178q
        bridge-..._150303 (line 1812)
        
        Show
        Liana Munroe added a comment - - edited Tested with ICEfaces 4 trunk r44152. The issue has been resolved for auction but still occurs with the showcase demo. See below, the server is stopped but the logging continues. NOT myfaces specific. [icepush.5e558.async-connection] [Tue, 03 Mar 2015 16:48:09 GMT] blocking connection stopped at server's request... bridge-..._150303 (line 1812) [icepush.5e558.async-connection] [Tue, 03 Mar 2015 16:48:09 GMT] shutdown bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] send confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:16 GMT] received confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] send confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:26 GMT] received confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] send confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:36 GMT] received confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] send confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:46 GMT] received confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] send confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:48:56 GMT] received confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812) [icepush.5e558.pushid-expiry] [Tue, 03 Mar 2015 16:49:06 GMT] request confirmation: 1i6tj1pxf:178q bridge-..._150303 (line 1812)
        Liana Munroe made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44174 Wed Mar 04 18:11:11 MST 2015 mircea.toma ICE-10500 Introduced connection async callback registration function that is used by the ICEpush bridge to determine when to start/stop the push ID expiry monitor.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/connection.async.js
        Hide
        Mircea Toma added a comment -

        Introduced connection async callback registration function that is used by the ICEpush bridge to determine when to start/stop the push ID expiry monitor.

        Show
        Mircea Toma added a comment - Introduced connection async callback registration function that is used by the ICEpush bridge to determine when to start/stop the push ID expiry monitor.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44175 Wed Mar 04 18:38:17 MST 2015 mircea.toma ICE-10500 Improve detection blocking connection state.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/connection.async.js
        Hide
        Liana Munroe added a comment -

        Verified this issue no longer occurs in showcase using ICEfaces 4 trunk r44177 mojarra and myfaces.

        Show
        Liana Munroe added a comment - Verified this issue no longer occurs in showcase using ICEfaces 4 trunk r44177 mojarra and myfaces.
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Ken Fyten made changes -
        Summary auction - push updates not being shut off (MyFaces JSF) auction - push updates not being shut off
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: