Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13935

JMS Push long delay between eneable and disable after upgrade atmosphere

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.2
    • Fix Version/s: 4.5.2
    • Component/s: component-push/poll
    • Labels:
      None
    • Environment:

      EAP 6.3.

    • Sprint:
      4.5.3 - Sprint 1
    • Steps to Reproduce:
      Hide

      1. Deploy and open metamer on http://localhost:8080/metamer/faces/components/a4jPush/twoPush.xhtml
      2. Click on Push1 button - output will be updated
      3. Click on Push2 button - output will be updated
      4. Click on checkbox in enabled to disable push1
      5. Click on Push2 button - output could be updated if not, then click again until output will be updated. It could take sometimes 1 2 or 3 minutes.
      6. Click on checkbox to enable push 1.
      7. Click on Push2 button - output could be updated if not then click again until output will be updated. It could be more then 2 or 3 minutes.
      8. Click on Push1 button - output will be updated
      Expected behaviour
      1. Deploy and open metamer on http://localhost:8080/metamer/faces/components/a4jPush/twoPush.xhtml
      2. Click on Push1 button - output will be updated
      3. Click on Push2 button - output will be updated
      4. Click on checkbox in enabled to disable push1
      5. Click on Push2 button - output could be updated if not, then click again until output will be updated. It could not be more than 1 minute
      6. Click on checkbox to enable push 1.
      7. Click on Push2 button - output could be updated if not then click again until output will be updated. It could not be more than 1 minute.
      8. Click on Push1 button - output will be updated

      Show
      1. Deploy and open metamer on http://localhost:8080/metamer/faces/components/a4jPush/twoPush.xhtml 2. Click on Push1 button - output will be updated 3. Click on Push2 button - output will be updated 4. Click on checkbox in enabled to disable push1 5. Click on Push2 button - output could be updated if not, then click again until output will be updated. It could take sometimes 1 2 or 3 minutes. 6. Click on checkbox to enable push 1. 7. Click on Push2 button - output could be updated if not then click again until output will be updated. It could be more then 2 or 3 minutes. 8. Click on Push1 button - output will be updated Expected behaviour 1. Deploy and open metamer on http://localhost:8080/metamer/faces/components/a4jPush/twoPush.xhtml 2. Click on Push1 button - output will be updated 3. Click on Push2 button - output will be updated 4. Click on checkbox in enabled to disable push1 5. Click on Push2 button - output could be updated if not, then click again until output will be updated. It could not be more than 1 minute 6. Click on checkbox to enable push 1. 7. Click on Push2 button - output could be updated if not then click again until output will be updated. It could not be more than 1 minute. 8. Click on Push1 button - output will be updated

      Description

      After upgrade Atmosphere in RF-13915 delay in JMS push between enable and disable is sometimes arount 4 minutes.
      See steps to reproduce.

      You can also test behavior via maven in richfaces-qa/metamer/ftest executing

      mvn clean verify -P jbosseap-managed-6-3 -DjbossEAP63Home={pathToJbossEap63} -Dtest=TestTwoPush#testBothPushes
      

      This test should be failed now, but it will be passed after reverting commit.
      Reproducer is there:
      http://localhost:8080/metamer/faces/components/a4jPush/twoPush.xhtml

      The commit is here
      https://source.jboss.org/changelog/RichFaces5?cs=075c83ea64858ddfee89cbb4f0941851c2580518

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                mtomasek Martin Tomasek
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: