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

remove twiddle.bat/shutdown.bat %ARGS% processing in favour of %*

    XMLWordPrintable

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dimitris Dimitris Andreadis
                  Reporter:
                  dimitris Dimitris Andreadis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: