Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9699

Regression when executing CLI command directly from command line on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Blocker
    • Resolution: Done
    • 7.1.0.DR14
    • 7.1.0.DR15
    • CLI, Scripts
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              Marek Kopecky Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: