[jboss-jira] [JBoss JIRA] Closed: (JBAS-5444) remove twiddle.bat/shutdown.bat %ARGS% processing in favour of %*

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Apr 15 05:46:54 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5444?page=all ]

Dimitris Andreadis closed JBAS-5444.
------------------------------------

    Resolution: Done

Done

> remove twiddle.bat/shutdown.bat %ARGS% processing in favour of %*
> -----------------------------------------------------------------
>
>                 Key: JBAS-5444
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5444
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Management services
>    Affects Versions: JBossAS-5.0.0.Beta4, JBossAS-4.2.2.GA
>            Reporter: Dimitris Andreadis
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-5.0.0.CR1, JBossAS-4.2.3.GA
>
>
> In twiddle.bat/shutdown.bat we need to replace %ARGS% with %* when including the command line arguments in the final JAVA execution.
> It causes problems when parameters include characters like ':', so the following twiddle query would fail, unless you use quotes:
> twiddle invoke jboss:service=JNDIView list true
> 12:26:29,031 ERROR [Twiddle] Exec failed
> javax.management.MalformedObjectNameException: Unterminated key property part
>         at javax.management.ObjectName.construct(ObjectName.java:465)
>         at javax.management.ObjectName.<init>(ObjectName.java:1304)
>         at org.jboss.console.twiddle.command.MBeanServerCommand.queryMBeans(MBea
> nServerCommand.java:68)
>         at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand
> .java:283)
>         at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306)
> twiddle invoke "jboss:service=JNDIView" list true

-- 
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