Replacing deployment in JBoss
1. I prefer to do my deployment/replacements in JBoss using the /jboss-cli.sh script, which is in $JBOSS_HOME7.3/bin. Pretty straight forward:
:replace-deployment(name=to_replace.war,to-replace=to_be_replaced.jar)
Some people do prefer a GUI, so just open the GUI using jboss-cli:
#./jboss-cli.sh –gui
The command will open the Cli – Gui:
You can personalize the view for showing a more coller view, my favourite is actually the <Nimbus>. The command you write write on the top at cmd> and to see the properties, double click on the list.