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

[GSS](7.4.z) HAL-1976 - Status page improperly converts uptime from ms to readable format

XMLWordPrintable

    • False
    • None
    • False
    • ?
    • Hide
      1. Start jboss-ea7
      2. Go http://127.0.0.1:9990/console/index.html
      3. > Runtime > Server > Status
      4. Checking Uptime
      Show
      Start jboss-ea7 Go http://127.0.0.1:9990/console/index.html > Runtime > Server > Status Checking Uptime
    • Red Hat JBoss Enterprise Application Platform

      The code doing that conversion is bugged as it results in integer division rounding up. So 31000 ms becomes considered as >.5 a minute, which is rounded up to 1 minute. So even watching the status time on the console from fresh start up, you can see it counts improperly 28s, 29s, jumps to 1m30s, 1m31, ... , 1m59s, and then back to an even 1 m, 1m1s, etc.

              chaowan@redhat.com Chao Wang
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: