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

Unable to set Valid negative values for MBean attributes using Twiddle

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.3 SP1, JBossAS-4.0.4.CR2, JBossAS-4.0.4.GA
    • Other
    • None

      When a customer tries to execute twiddle to set a negative value for one of the attributes, it throws the exception.
      For example when I try to set a Scheduler MBean InitialRepitions value to -1, it fails.
      Command: twiddle set "jboss:service=Scheduler" "InitialRepetitions" "-1".
      Possible problem might be, GetOpt class used in the
      org.jboss.console.twiddle.SetCommand Class is not accepting the -ve values.It consider the -ve numbers as an invalid option.

              ssambasivam Sakthi Samabsivam (Inactive)
              ssambasivam Sakthi Samabsivam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: