you can use for instance:
[domain@localhost:9999 /] deploy /home/rhusar/SessionTest.war --all-server-groups --force
use --force if you want to redeploy. I think you can also use
[domain@localhost:9999 /] upload-deployment-url(url="http://localhost/SessionTest.war")
Does that work for you?
This is specific to Unix. How would we go about in Windows?
1 of 1 people found this helpful
That's not really specific to Unix. It's the Command Line Client which ships with AS7 and work on Windows too. Take a look at the documentation here https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-CommandLineInterface. Also see http://community.jboss.org/wiki/DeployAndUndeployWithTheCLI
Thanks Radoslav and Jaikumar for your help. It worked.