Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5700

Statistic for session-avg-alive-time doesn't work.

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.0.0.GA, 7.1.0.DR3
    • 7.1.0.DR5
    • Undertow
    • None
    • Hide
      1. Start EAP 7
      2. Enable statistics collecting for undertow (via CLI /subsystem=undertow:write-attribute(name=statistics-enabled, value=true))
      3. Deploy application with servlet which uses sessions (ideally setup session timeout to 1 minute), attached simple-servlet.war which contains such servlet
      4. Create request to that servlet curl -i http://127.0.0.1:8080/simple-servlet/counter -c cookie.txt -b cookie.txt
      5. wait for the session to expire (wait more than 1 minute, you can then try another request to see it has expired)
      6. check the statistics => run via CLI /deployment=simple-servlet.war/subsystem=undertow:read-resource(include-runtime=true) and see that session-avg-alive-time remains 0 even though expired-sessions has non zero value.
      Show
      Start EAP 7 Enable statistics collecting for undertow (via CLI /subsystem=undertow:write-attribute(name=statistics-enabled, value=true) ) Deploy application with servlet which uses sessions (ideally setup session timeout to 1 minute), attached simple-servlet.war which contains such servlet Create request to that servlet curl -i http://127.0.0.1:8080/simple-servlet/counter -c cookie.txt -b cookie.txt wait for the session to expire (wait more than 1 minute, you can then try another request to see it has expired) check the statistics => run via CLI /deployment=simple-servlet.war/subsystem=undertow:read-resource(include-runtime=true) and see that session-avg-alive-time remains 0 even though expired-sessions has non zero value.

    Description

      Statistics for session-avg-alive-time in /deployment=xxx.war/subsystem=undertow isn't counted and remains 0 all the time.

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Jan Stourac Jan Stourac
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: