Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2561

Regression when executing CLI command directly from command line on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta10
    • None
    • CLI, Scripts
    • None

      This CLI command [1] was working with EAP 7.1.0.DR13 and previous versions of EAP including EAP 7.0, but stopped working with jboss-cli.bat from EAP 7.1.0.DR14 with [2].

      As this is regression marking as blocker. Workaround for customer would mean need to update all its commands in scripts to use quotes and quotes escaping.

      [1]

      jboss-cli.bat --connect --controller=127.0.0.1:9990 --commands=:read-attribute(name=server-state)
      

      Note we execute this command from JVM as list =>

      ["jboss-cli.bat", "--connect", "--controller=127.0.0.1:9990", "--commands=:read-attribute(name=server-state)"].execute()
      

      , thus by JVM it should be provided as individual parameters.

      [2]

      else was unexpected at this time.
      

      Most likely the regression is caused by fix for JBEAP-8808

              jdenise@redhat.com Jean Francois Denise
              jdenise@redhat.com Jean Francois Denise
              Marek Kopecky Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: