Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4290

Timer.getTimeRemaining() returns incorrect value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.4.GA
    • None
    • None

      From case:
      "If I use a Timer for a SLSB and persist it, all work correct if I start it.

      The getNextTimeOut() give the correct time, the getRemaining() will show a value between 4990 and 4999 (intervall was 5000)

      after a restart of the server the NextTimeout is in the past and the remaining is negative.
      Looks like that the service continue with the old time."

      So, getRemaining() returns a negative value after a server restart.

              Unassigned Unassigned
              rhn-support-dboeren David Boeren
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: