Description of problem: According to documentation [1] the jboss.cli.config property should be used to specify the location of jboss-cli.xml file. However I am unable to pass it via jboss-cli.[bat|sh] scripts. Version-Release number of selected component (if applicable): EAP 6.3.0.ER5 How reproducible: Always Steps to Reproduce: 1. Move the config file, start the server. unzip -q jboss-eap-6.3.0.ER5.zip cd jboss-eap-6.3/bin mkdir config mv jboss-cli.xml config/ ./standalone.sh & ... 2. ./jboss-cli.sh -Djboss.cli.config=<EAP_HOME>/bin/config/jboss-cli.xml Actual results: WARN: can't find jboss-cli.xml. Using default configuration values. Expected results: <EAP_HOME>/bin/config/jboss-cli.xml file is used. [1] - http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Administration_and_Configuration_Guide/index.html#Management_CLI_Configuration_Options
PR: https://github.com/jbossas/jboss-eap/pull/1820
https://github.com/jbossas/jboss-eap/pull/1820 breaks the jboss-cli.bat usage. C:\jboss-eap-6.4\bin>jboss-cli.bat -c shutdown Duplicate argument '--command'/'--commands'. Press any key to continue . . . We started DR6 testing today so I don't have more results yet.
Fix PR: https://github.com/jbossas/jboss-eap/pull/1839
There are still some issues left: jboss-cli.bat -c command=:shutdown Duplicate argument '--command'/'--commands'.
Verified on EAP 6.4.0.DR9