[jboss-jira] [JBoss JIRA] Closed: (JBAS-3718) Unable to set Valid negative values for MBean attributes using Twiddle
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Fri Sep 29 03:23:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3718?page=all ]
Dimitris Andreadis closed JBAS-3718.
------------------------------------
Fix Version/s: No Release
(was: JBossAS-4.0.5.GA)
Resolution: Done
I made a comment in the original case. The use of '--' shouldn't tell getopts to stop processing options? This needs to be invastigated.
> Unable to set Valid negative values for MBean attributes using Twiddle
> -------------------------------------------------------------------------
>
> Key: JBAS-3718
> URL: http://jira.jboss.com/jira/browse/JBAS-3718
> Project: JBoss Application Server
> Issue Type: Patch
> Security Level: Public(Everyone can see)
> Components: Other
> Affects Versions: JBossAS-4.0.3 SP1, JBossAS-4.0.4.CR2, JBossAS-4.0.4.GA
> Reporter: Sakthi Samabsivam
> Assigned To: Sakthi Samabsivam
> Priority: Minor
> Fix For: No Release
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list