This content has been marked as final.
Show 1 reply
-
1. Re: jboss-cli.sh and bash scripting
redshift Feb 4, 2014 11:36 AM (in response to redshift)For all those interested to this question the solution that I found was to use the jboss-cli.sh via batch mode:
bin/jboss-cli.sh --file=test.cli
$ cat ./test.cli
connect node_address
batch
/host=node_name/server-config=server_name:stop
run-batch
Then I can call the jboss-cli.sh in a bash script to execute this commands.