Details
-
Feature Request
-
Resolution: Done
-
Major
-
7.1.2.Final (EAP)
-
None
Description
The jboss-cli.xml file provides configuration for running CLI.
By default, CLI looks for this file first using the system property "jboss.cli.config", where the value is the fully-qualified path and file name.
Next, it tries to find a file named "jboss-cli.xml" in the JBOSS_HOME/bin directory. 99% of the time, this is the way the file is found.
When using the jboss-cli-client.jar, we are running on a machine where AS7 is probably not installed. Therefore, there is no JBOSS_HOME.
So, CLI should also look in the current directory for jboss-cli.xml.