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

        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.
        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)
        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.
        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.
        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)
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: