Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2996

shutdown +n command not work and shutdown hh:mm not been validated

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.4.0, 3.0.2, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      Java 7, Win7 64bit

      Description

      karaf@root()> shutdown +2
      Confirm: halt instance root (yes/no): yes
      Error executing command: Time 2 is not valid

      "++2" will work but it's not expected.

      karaf@root()> shutdown ++2
      Confirm: halt instance root (yes/no): yes
      Shutdown in 2 minute(s)

      Also, the hh:mm has not been validated.
      karaf@root()> shutdown 25:62
      Confirm: halt instance root (yes/no): yes
      Shutdown in 851 minute(s)

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              xldai Xilai Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: