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

Unable to set negative values for MBean attributes using Twiddle command

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JBossAS-4.0.5.GA
    • JBossAS-4.0.3 SP1
    • Other
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: