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

jboss-cli.sh fail with 89: Syntax error: "(" unexpected

XMLWordPrintable

    • Hide
      11:27 $ ./jboss-cli.sh --connect 'command=:read-attribute(name=server-state)'
       ./jboss-cli.sh: 89: Syntax error: "(" unexpected
       

      vs

      11:35 $ bash ./jboss-cli.sh --connect 'command=:read-attribute(name=server-state)'
       Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+[http://localhost:9990|http://localhost:9990/]. The connection failed: WFLYPRT0053: Could not connect to remote+[http://localhost:9990|http://localhost:9990/]. The connection failed: Connection refused
       
      Show
      11:27 $ ./jboss-cli.sh --connect 'command=:read-attribute(name=server-state)' ./jboss-cli.sh: 89: Syntax error: "(" unexpected vs 11:35 $ bash ./jboss-cli.sh --connect 'command=:read-attribute(name=server-state)' Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+[http://localhost:9990|http://localhost:9990/]. The connection failed: WFLYPRT0053: Could not connect to remote+[http://localhost:9990|http://localhost:9990/]. The connection failed: Connection refused
    • Undefined

          chaowan@redhat.com Chao Wang
          rhn-cservice-bbaranow Bartosz Baranowski
          Votes:
          1 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: