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

Invalid 'started in' values for embedded CLI server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR8
    • 7.0.0.DR1
    • CLI
    • None
    • Hide
      $ ./jboss-cli.sh
      # wait for 5-10s
      [disconnected /] embed-server --std-out=echo
      ... started in 12241ms ...
      [standalone@embedded /] stop-embedded-server
      # wait for 5-10s
      [disconnected /] embed-server --std-out=echo
      ... started in 26388ms ...
      
      Show
      $ ./jboss-cli.sh # wait for 5-10s [disconnected /] embed-server --std-out=echo ... started in 12241ms ... [standalone@embedded /] stop-embedded-server # wait for 5-10s [disconnected /] embed-server --std-out=echo ... started in 26388ms ...

      Embedded CLI server use StartTimeHolder.START_TIME; as startTime property - used for embedded server 'started in' time calculation. This is set during initialization, but never updated, thus 'started in' values are not correctly calculated.

            bstansbe@redhat.com Brian Stansberry
            pkremens@redhat.com Petr Kremensky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: