README-CLI-JCONSOLE.txt 930 B

12345678910111213141516
  1. The jboss-cli-client jar can be used to remotely manage a JBoss AS instance with CLI or jconsole. Copy jboss-cli-client.jar to your client machine. You do not need to install JBoss AS.
  2. TO RUN CLI:
  3. java -jar <PATH TO jboss-cli-client.jar> [--help] [--version] [--controller=host:port]
  4. [--gui] [--connect] [--file=file_path]
  5. [--commands=command_or_operation1,command_or_operation2...]
  6. [--command=command_or_operation]
  7. [--user=username --password=password]
  8. Use --help for an explanation of the CLI command line options.
  9. TO RUN JCONSOLE:
  10. jconsole -J-Djava.class.path=<PATH TO jconsole.jar>;<PATH TO tools.jar>;<PATH TO jboss-cli-client.jar>
  11. Path to jconsole.jar and tools.jar is typically <JAVA_HOME>/lib/jconsole.jar and <JAVA_HOME>/lib/tools.jar.