-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.2.2.GA, JBossAS-5.0.0.Beta4
-
None
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
- is related to
-
JBPAPP-540 twiddle.bat fails
-
- Resolved
-