diff --git a/jboss/bin/undeploy-cluster b/jboss/bin/undeploy-cluster index 32e57dd66bab4c8bf8d710c9b8b81e7ecf129eae..3d8794873044ae67c754fc011d21c6d71d1f2624 100755 --- a/jboss/bin/undeploy-cluster +++ b/jboss/bin/undeploy-cluster @@ -50,7 +50,7 @@ while getopts ':l' option; do done if [[ $INFO == true ]]; then - jboss-cli.sh --controller=$CONTROLLER --connect --commands="deployment-info --server-group=main-server-group" + jboss-cli.sh --controller=$CONTROLLER --connect --commands="deployment-info --server-group=cluster-server-group" exit 0 fi diff --git a/jboss/configure.sh b/jboss/configure.sh index 6cc7b5d2a2c4aa8c0f2c5e09817fe03ec9c2b739..5da0ce1acf9bfaee7559cda7dab7b9d6d8dbefd1 100755 --- a/jboss/configure.sh +++ b/jboss/configure.sh @@ -145,6 +145,8 @@ ln -sf ${JBOSS_HOME}"/bin/jboss-cli.sh" ${JBOSS_HOME}"/bin/jboss-cli" # Install my tools cp -rf bin/dodeploy* /usr/local/bin/ chmod +x /usr/local/bin/dodeploy* +cp -rf bin/undeploy-cluster +chmod +x bin/undeploy-cluster sed -i 's/__CONTROLLER__/'$HOST'/g' /usr/local/bin/dodeploy sed -i 's/__CONTROLLER__/'$HOST'/g' /usr/local/bin/undeploy-cluster