Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-914

Default sessionDrainingStrategy issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.4.4.Final
    • None

    Description

      Undertow with sessionDrainingStrategy set to Default is not behaving as expected.

      Documentation:

      DEFAULT
      Drain sessions before web application undeploy
      only if the web application is non-distributable.
      

      Issue:
      Based on documentation, web application that is non-distributable should have it's session
      drained before undeploy or fail trying.

      Distributed app

      INFO  [org.jboss.modcluster] (management-handler-thread - 2) MODCLUSTER000021: All pending requests drained from default-host:/clusterbench in 0.0 seconds
      

      Non-Distributed app

      INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 21) MODCLUSTER000021: All pending requests drained from default-host:/clusterbench in 0.0 seconds
      

      There is always session created!

      Expected something like ALWAYS strategy

      2016-11-25 10:21:23,006 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 7) MODCLUSTER000046: Starting to drain 1 active sessions from default-host:/clusterbench in 10 seconds.
      2016-11-25 10:21:33,006 WARN  [org.jboss.modcluster] (ServerService Thread Pool -- 7) MODCLUSTER000025: Failed to drain 1 remaining active sessions from default-host:/clusterbench within 10.0 seconds
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              bsikora Bogdan Sikora (Inactive)
              Bogdan Sikora Bogdan Sikora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: